fix: add CI=true to test badge workflow (#83)

Frontend tests were running in watch mode without CI=true env var,
causing the workflow to hang for 30+ minutes.
This commit is contained in:
Daniel Volz
2026-01-30 19:15:54 +01:00
committed by GitHub
parent 47e8dfe9bc
commit 156e54f0ea
+4
View File
@@ -41,6 +41,8 @@ jobs:
- name: Run backend tests and capture count
id: backend-tests
working-directory: backend
env:
CI: true
run: |
OUTPUT=$(npm run test:run 2>&1) || true
echo "$OUTPUT"
@@ -51,6 +53,8 @@ jobs:
- name: Run frontend tests and capture count
id: frontend-tests
working-directory: frontend
env:
CI: true
run: |
OUTPUT=$(npm run test -- --run 2>&1) || true
echo "$OUTPUT"