Skip to content

Commit

Permalink
Monorepo implemented with Turborepo (#323)
Browse files Browse the repository at this point in the history
* basic monorepo implemented with turborepo
  • Loading branch information
volovyks authored Dec 7, 2022
1 parent cf94b8b commit 2a51b6c
Show file tree
Hide file tree
Showing 146 changed files with 2,637 additions and 6,990 deletions.
4 changes: 2 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pnpm-lock.yaml linguist-generated=true -diff
lib/**/*.js linguist-generated=true -diff
lib/**/*.d.ts linguist-generated=true -diff
/**/lib/**/*.js linguist-generated=true -diff
/**/lib/**/*.d.ts linguist-generated=true -diff
near-contract-standards/lib/**/*.js linguist-generated=true -diff
near-contract-standards/lib/**/*.d.ts linguist-generated=true -diff
32 changes: 0 additions & 32 deletions .github/workflows/build.yml

This file was deleted.

28 changes: 0 additions & 28 deletions .github/workflows/examples.yml

This file was deleted.

19 changes: 12 additions & 7 deletions .github/workflows/lint.yml → .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
name: Lint
name: Test
on:
pull_request:
push:
branches:
- master
- develop
jobs:
lint:
tests:
strategy:
matrix:
platform: [ubuntu-latest]
platform: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/action-setup@v2.2.2
with:
Expand All @@ -23,13 +22,19 @@ jobs:
with:
node-version: 16.x
cache: pnpm
- name: Install modules
- name: Install dependencies
run: pnpm install
- name: Run lint
- name: Lint code
run: pnpm lint
- name: Format code
run: pnpm format
- name: Run git status
run: git status
- name: Check that lints where commited
run: test -z "$(git status --porcelain)"
- name: Build
run: pnpm build
- name: Check that all build artifacts where commited
run: test -z "$(git status --porcelain)"
- name: Run tests
run: pnpm test
29 changes: 0 additions & 29 deletions .github/workflows/unit-test.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ node_modules
vendor
.idea
deps
.turbo
Loading

0 comments on commit 2a51b6c

Please sign in to comment.