From a4a475a07d7eb9eacab18e72f24379565e6bf349 Mon Sep 17 00:00:00 2001 From: Stephen Adamson Date: Thu, 25 Jun 2026 13:03:50 +0100 Subject: [PATCH] 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. --- .gitea/workflows/ci.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 1d1cc04..9f6c8e9 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -102,7 +102,7 @@ jobs: - name: Test with race detector 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: POSTGRES_HOST: postgres TEST_DB_HOST: postgres @@ -132,11 +132,12 @@ jobs: node-version: "22" - name: Frontend type check - working-directory: frontend run: | + cd frontend npm ci npm run check - name: Frontend lint - working-directory: frontend - run: npm run lint + run: | + cd frontend + npm run lint