ci: build before test, only test if present
This commit is contained in:
parent
9aa3962145
commit
a7f422956c
|
@ -40,6 +40,10 @@ jobs:
|
|||
run: pnpm install --frozen-lockfile
|
||||
working-directory: ${{ matrix.example }}
|
||||
|
||||
- name: test
|
||||
run: pnpm run test
|
||||
- name: build
|
||||
run: pnpm run build
|
||||
working-directory: ${{ matrix.example }}
|
||||
|
||||
- name: test
|
||||
run: pnpm --if-present test
|
||||
working-directory: ${{ matrix.example }}
|
||||
|
|
Loading…
Reference in New Issue