Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

- run: cd packages/cli && pnpm lint

- run: cd packages/cli && pnpm vitest run
- run: cd packages/cli && pnpm coverage

- name: Verify version matches tag
run: |
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,14 @@ jobs:

- name: Run tests
timeout-minutes: 15
if: matrix.node-version != 22
run: cd packages/cli && pnpm vitest run

- name: Run tests with coverage
timeout-minutes: 15
if: matrix.node-version == 22
run: cd packages/cli && pnpm coverage

- name: Upload coverage (Node 22 only)
if: matrix.node-version == 22
uses: codecov/codecov-action@v6
Expand Down
2 changes: 2 additions & 0 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"build": "pnpm typecheck && rm -rf dist && tsup && cp -r templates dist/",
"dev": "tsup --watch",
"test": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
"typecheck:tests": "tsc --noEmit -p tsconfig.test.json",
"lint": "eslint src/ tests/",
Expand All @@ -72,6 +73,7 @@
"tree-sitter-typescript": "0.23.2"
},
"devDependencies": {
"@vitest/coverage-v8": "4.1.5",
"@types/node": "^25.6.0",
"@typescript-eslint/eslint-plugin": "^8.57.1",
"@typescript-eslint/parser": "^8.59.1",
Expand Down
Loading