From 2f9c0d27dfae55063efaeb45860c1e54b9e1f9fb Mon Sep 17 00:00:00 2001 From: Ichitux Date: Sun, 28 Jun 2026 13:09:25 +0200 Subject: [PATCH] fix(ci): use --ci for backend (Jest), keep --run for frontend (Vitest) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Backend uses Jest, not Vitest — --run is unrecognized. --ci is the Jest equivalent that disables watch mode and exits cleanly. Frontend already uses --run --reporter=basic (Vitest) which is correct. Verified locally: backend `npm test -- --ci` → 17/17 passing. Co-Authored-By: Claude --- .gitea/workflows/docker.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/docker.yaml b/.gitea/workflows/docker.yaml index 41a9811..d609c72 100644 --- a/.gitea/workflows/docker.yaml +++ b/.gitea/workflows/docker.yaml @@ -14,7 +14,7 @@ jobs: - name: Install dependencies run: cd backend && npm ci - name: Run tests - run: cd backend && npm test -- --run --reporter=basic + run: cd backend && npm test -- --ci test-frontend: runs-on: ubuntu-latest