ci: add @vitest/coverage-v8 to workspace packages; set REDIS_URL on build
CI / Architecture Guardrails (push) Failing after 14s
CI / Unit Tests (push) Failing after 4m33s
CI / Assistant Split Regression (push) Successful in 7m17s
CI / Build (push) Has been cancelled
CI / E2E Tests (push) Has been cancelled
CI / Typecheck (push) Has started running
CI / Fresh-Linux Docker Deploy (push) Has been cancelled
CI / Release Images (push) Has been cancelled
CI / Lint (push) Has started running

CI unit-test runs vitest run --coverage in each workspace package, but only
apps/web declared the coverage-v8 dep. In pnpm workspaces deps aren't
hoisted across packages, so engine/staffing/api/application/shared need it
directly.

The build job also needs REDIS_URL because collecting page data for
/api/perf imports a module that throws if REDIS_URL is missing under
NODE_ENV=production. A placeholder value satisfies the check (no actual
Redis connection is made at build time).
This commit is contained in:
2026-04-12 18:38:21 +02:00
parent 4171ee99a1
commit 64ca79f3a6
7 changed files with 26 additions and 5 deletions
+15
View File
@@ -265,6 +265,9 @@ importers:
'@types/node':
specifier: ^22.10.2
version: 22.19.13
'@vitest/coverage-v8':
specifier: ^2.1.9
version: 2.1.9(vitest@2.1.9(@types/node@22.19.13)(jsdom@29.0.2(@noble/hashes@2.0.1))(terser@5.46.1))
typescript:
specifier: ^5.6.3
version: 5.9.3
@@ -299,6 +302,9 @@ importers:
'@types/node':
specifier: ^22.10.2
version: 22.19.13
'@vitest/coverage-v8':
specifier: ^2.1.9
version: 2.1.9(vitest@2.1.9(@types/node@22.19.13)(jsdom@29.0.2(@noble/hashes@2.0.1))(terser@5.46.1))
typescript:
specifier: ^5.6.3
version: 5.9.3
@@ -352,6 +358,9 @@ importers:
'@types/node':
specifier: ^22.10.2
version: 22.19.13
'@vitest/coverage-v8':
specifier: ^2.1.9
version: 2.1.9(vitest@2.1.9(@types/node@22.19.13)(jsdom@29.0.2(@noble/hashes@2.0.1))(terser@5.46.1))
typescript:
specifier: ^5.6.3
version: 5.9.3
@@ -368,6 +377,9 @@ importers:
'@capakraken/tsconfig':
specifier: workspace:*
version: link:../../tooling/typescript
'@vitest/coverage-v8':
specifier: ^2.1.9
version: 2.1.9(vitest@2.1.9(@types/node@22.19.13)(jsdom@29.0.2(@noble/hashes@2.0.1))(terser@5.46.1))
typescript:
specifier: ^5.6.3
version: 5.9.3
@@ -384,6 +396,9 @@ importers:
'@capakraken/tsconfig':
specifier: workspace:*
version: link:../../tooling/typescript
'@vitest/coverage-v8':
specifier: ^2.1.9
version: 2.1.9(vitest@2.1.9(@types/node@22.19.13)(jsdom@29.0.2(@noble/hashes@2.0.1))(terser@5.46.1))
typescript:
specifier: ^5.6.3
version: 5.9.3