ci: fix quality job working-directory and adjust timeouts
Backend CI / Tests (push) Successful in 1m12s
Backend CI / Race detector (push) Failing after 21s
Backend CI / Lint & vulns (push) Failing after 27s

working-directory wasn't being honored for npm steps in the quality
job. Switch to explicit cd frontend && commands.

Reduce race timeout from 300s to 240s.
This commit is contained in:
2026-06-25 13:03:50 +01:00
parent aa875339b5
commit a4a475a07d
+5 -4
View File
@@ -102,7 +102,7 @@ jobs:
- name: Test with race detector - name: Test with race detector
working-directory: backend working-directory: backend
run: go test -tags "test,dev" -race -count=1 -timeout 300s ./... run: go test -tags "test,dev" -race -count=1 -timeout 240s ./...
env: env:
POSTGRES_HOST: postgres POSTGRES_HOST: postgres
TEST_DB_HOST: postgres TEST_DB_HOST: postgres
@@ -132,11 +132,12 @@ jobs:
node-version: "22" node-version: "22"
- name: Frontend type check - name: Frontend type check
working-directory: frontend
run: | run: |
cd frontend
npm ci npm ci
npm run check npm run check
- name: Frontend lint - name: Frontend lint
working-directory: frontend run: |
run: npm run lint cd frontend
npm run lint