ci: fix quality job working-directory and adjust timeouts
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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user