File tree Expand file tree Collapse file tree 2 files changed +7
-19
lines changed Expand file tree Collapse file tree 2 files changed +7
-19
lines changed Original file line number Diff line number Diff line change 3838 **/node_modules
3939 pnpm-lock.yaml
4040 key : ${{ steps.pnpm-cache.outputs.cache-primary-key }}
41+
42+ - name : Build packages
43+ run : pnpm run build
44+ shell : bash
Original file line number Diff line number Diff line change 1313concurrency : ${{ github.workflow }}-${{ github.ref }}
1414
1515jobs :
16- build-packages-and- lint :
17- name : Build packages and lint
16+ build-lint-test :
17+ name : Build packages, lint & run tests
1818 runs-on : ubuntu-latest
1919 steps :
2020 - name : Checkout
@@ -25,35 +25,19 @@ jobs:
2525 - name : Setup
2626 uses : ./.github/actions/setup
2727
28- - name : Build packages
29- run : pnpm run build
30-
3128 - name : Lint files
3229 run : pnpm run lint
3330
3431 - name : Typecheck files
3532 run : pnpm run typecheck
3633
37- test :
38- name : Run tests
39- runs-on : ubuntu-latest
40- needs : build-packages-and-lint
41- steps :
42- - name : Checkout
43- uses : actions/checkout@v4
44- with :
45- submodules : ' true'
46-
47- - name : Setup
48- uses : ./.github/actions/setup
49-
5034 - name : Run unit tests
5135 run : pnpm run test --maxWorkers=2 --coverage
5236
5337 build-docs :
5438 name : Build docs
5539 runs-on : ubuntu-latest
56- needs : build-packages-and- lint
40+ needs : build-lint-test
5741 steps :
5842 - name : Checkout
5943 uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments