fix(cli): Ensure git-commit.js is generated before unit tests

Updates the 'test:ci' script in 'packages/cli/package.json' to run 'npm run generate' before 'vitest run'.

This ensures that the '../../generated/git-commit.js' file, which is required by some telemetry modules, is created before unit tests attempt to import it, resolving the 'Cannot find module' error during CI runs.
This commit is contained in:
mkorwel
2025-10-21 22:19:08 -07:00
parent e03570f99e
commit 118e3176e8
+1 -1
View File
@@ -18,7 +18,7 @@
"lint": "eslint . --ext .ts,.tsx",
"format": "prettier --write .",
"test": "vitest run",
"test:ci": "vitest run",
"test:ci": "npm run generate && vitest run",
"typecheck": "tsc --noEmit"
},
"files": [