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 / 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:
@@ -38,6 +38,7 @@
|
||||
"@capakraken/tsconfig": "workspace:*",
|
||||
"@types/node": "^22.10.2",
|
||||
"typescript": "^5.6.3",
|
||||
"vitest": "^2.1.8"
|
||||
"vitest": "^2.1.8",
|
||||
"@vitest/coverage-v8": "^2.1.9"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user