Scripts: deploy hosted now actually stops when the tests fail

This commit is contained in:
Pieter Vander Vennet 2025-03-16 23:47:12 +01:00
parent ac5565d546
commit b3009367a3

View file

@ -16,7 +16,7 @@ jobs:
node-version: "20" node-version: "20"
cache: "npm" cache: "npm"
cache-dependency-path: package-lock.json cache-dependency-path: package-lock.json
- name: install deps - name: install deps
run: npm ci run: npm ci
shell: bash shell: bash
@ -43,8 +43,7 @@ jobs:
export NODE_OPTIONS="--max-old-space-size=8192" export NODE_OPTIONS="--max-old-space-size=8192"
npm run clean:tests npm run clean:tests
npm run generate:doctests 2>&1 | grep -v "No doctests found in" npm run generate:doctests 2>&1 | grep -v "No doctests found in"
vitest --run test vitest --run test && npm run clean:tests
npm run clean:tests
shell: bash shell: bash