fix(ci): add pretest hook so vitest sees built dist/cli.js
All checks were successful
CI (Node) / build-test (push) Successful in 8s
Release / release (push) Successful in 8s
Release (Node) / release (push) Successful in 13s

This commit is contained in:
Mika Kuns
2026-05-19 13:12:59 +02:00
parent 50f2b5a7cb
commit 43e8d0d4ca

View File

@@ -13,6 +13,7 @@
],
"scripts": {
"build": "tsc -p tsconfig.json",
"pretest": "npm run build",
"test": "vitest run",
"test:watch": "vitest",
"start": "node dist/cli.js serve",