Skip to content

Commit

Permalink
ci(test): update coverage command and usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Codex- committed Feb 1, 2023
1 parent 9f70e6d commit e8c81ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@ jobs:
cache: npm
- run: npm ci
- name: test
run: npm run test -- --coverage
run: npm run test:coverage
- name: codecov
uses: codecov/codecov-action@v3
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"lint": "eslint --ext \".js,.ts\" .",
"lint:fix": "npm run lint -- --fix",
"release": "release-it",
"test": "vitest run --coverage"
"test": "vitest",
"test:coverage": "vitest --coverage"
},
"engines": {
"node": ">=12",
Expand Down

0 comments on commit e8c81ef

Please sign in to comment.