fix(ci): add pretest hook so vitest sees built dist/cli.js
This commit is contained in:
@@ -13,6 +13,7 @@
|
|||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc -p tsconfig.json",
|
"build": "tsc -p tsconfig.json",
|
||||||
|
"pretest": "npm run build",
|
||||||
"test": "vitest run",
|
"test": "vitest run",
|
||||||
"test:watch": "vitest",
|
"test:watch": "vitest",
|
||||||
"start": "node dist/cli.js serve",
|
"start": "node dist/cli.js serve",
|
||||||
|
|||||||
Reference in New Issue
Block a user