Skip to content

Commit

Permalink
fixup! ci(cli): enable coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
endersonmaia committed Oct 15, 2024
1 parent 038fb50 commit fdc423d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ jobs:
- name: Install dependencies
run: pnpm install

- name: Test
- name: Test / Coverage
working-directory: ./apps/cli
run: pnpm test run
run: pnpm run test:coverage

- name: "Report Coverage"
if: always()
Expand Down
3 changes: 2 additions & 1 deletion apps/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@
"postpack": "rimraf oclif.manifest.json",
"posttest": "pnpm lint",
"prepack": "pnpm build && oclif manifest",
"test": "vitest --coverage.enabled true"
"test": "vitest",
"test:coverage": "vitest --coverage.enabled true"
},
"engines": {
"node": ">=18.0.0"
Expand Down

0 comments on commit fdc423d

Please sign in to comment.