-
Notifications
You must be signed in to change notification settings - Fork 256
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(refactor) Refactor test setup to leverage caching by
turbo
(#1289)
- Loading branch information
1 parent
483b93d
commit 35a1dec
Showing
181 changed files
with
2,862 additions
and
2,109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,15 +43,13 @@ jobs: | |
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
server-token: ${{ env.TURBO_TOKEN }} | ||
|
||
|
||
- name: Run tests | ||
run: yarn run test | ||
|
||
- name: Run lint and typecheck | ||
run: yarn turbo run lint typescript --color | ||
- name: Run lint, type checks and tests | ||
run: yarn verify | ||
|
||
- name: Run build | ||
run: yarn turbo run build --color --concurrency=5 | ||
run: yarn turbo build --color --concurrency=5 | ||
|
||
pre_release: | ||
runs-on: ubuntu-latest | ||
|
@@ -89,7 +87,7 @@ jobs: | |
run: yarn lerna version "$(node -e "console.log(require('semver').inc(require('./lerna.json').version, 'patch'))")-pre.${{ github.run_number }}" --no-git-tag-version --no-push --yes | ||
|
||
- name: Build | ||
run: yarn turbo run build --color --concurrency=5 | ||
run: yarn turbo build --color --concurrency=5 | ||
|
||
- run: git config user.email "[email protected]" && git config user.name "OpenMRS CI" | ||
- run: git add . && git commit -m "Prerelease version" --no-verify | ||
|
@@ -154,7 +152,7 @@ jobs: | |
server-token: ${{ env.TURBO_TOKEN }} | ||
|
||
- name: Build | ||
run: yarn turbo run build --color --concurrency=5 | ||
run: yarn turbo build --color --concurrency=5 | ||
|
||
- name: Publish | ||
run: yarn run ci:publish | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,4 @@ | |
set -e # die on error | ||
|
||
yarn pretty-quick --staged | ||
yarn run verify | ||
yarn verify |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.