perf: speed up local test runs by moving coverage to optional script
CI / check (push) Successful in 1m0s
CI / deploy (push) Successful in 1m8s

Run vitest without coverage by default (pnpm test) and add pnpm test:coverage which enforces the coverage thresholds. CI keeps using the coverage run so thresholds are still enforced on every push.
This commit is contained in:
openhands committed 2026-09-08 18:12:34 +02:00
1 parent ecadef904d
commit 54b7c67878
5 files changed
+7 -6

No files matched your search

+2 -1
View File
@@ -16,7 +16,8 @@
"format": "biome format --write .",
"diag:permissions": "tsx scripts/diagnose-permission-page.ts",
"jobs:worker": "node --conditions=react-server --import tsx scripts/jobs-worker.ts",
"test": "vitest run",
"test": "vitest run --coverage.enabled=false",
"test:coverage": "vitest run",
"typecheck": "tsc --noEmit",
"db:generate": "drizzle-kit generate",
"db:introspect": "drizzle-kit introspect",