ci: thought wait would return error code

This commit is contained in:
cha0s 2024-02-14 08:36:12 -06:00
parent 696c0c885a
commit 5def81f6f6

View File

@ -38,6 +38,7 @@ jobs:
strategy:
max-parallel: ${{ vars.CI_PARALLEL || 256 }}
matrix:
test-platforms: ['-p default -p server', '-p e2e']
node-version: [16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v4
@ -64,9 +65,7 @@ jobs:
if: ${{ vars.NPM_CI_REGISTRY && steps.cache-node-modules.outputs.cache-hit != 'true' }}
- run: npm ci
if: ${{ steps.cache-node-modules.outputs.cache-hit != 'true' }}
- run: |
npm run -- test -t 120000 & npm run -- test -t 120000 -p e2e
wait
- run: npm run -- test -t 120000 ${{ matrix.test-platforms }}
lint:
runs-on: ubuntu-latest