Scripts: deploy hosted now actually stops when the tests fail
This commit is contained in:
parent
ac5565d546
commit
b3009367a3
1 changed files with 2 additions and 3 deletions
|
@ -16,7 +16,7 @@ jobs:
|
|||
node-version: "20"
|
||||
cache: "npm"
|
||||
cache-dependency-path: package-lock.json
|
||||
|
||||
|
||||
- name: install deps
|
||||
run: npm ci
|
||||
shell: bash
|
||||
|
@ -43,8 +43,7 @@ jobs:
|
|||
export NODE_OPTIONS="--max-old-space-size=8192"
|
||||
npm run clean:tests
|
||||
npm run generate:doctests 2>&1 | grep -v "No doctests found in"
|
||||
vitest --run test
|
||||
npm run clean:tests
|
||||
vitest --run test && npm run clean:tests
|
||||
shell: bash
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue