Skip to content

Commit 97084cd

Browse files
committed
ci(test): update coverage command and usage
1 parent 19690a5 commit 97084cd

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,6 @@ jobs:
5151
cache: npm
5252
- run: npm ci
5353
- name: test
54-
run: npm run test -- --coverage
54+
run: npm run test:coverage
5555
- name: codecov
5656
uses: codecov/codecov-action@v3

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@
4343
"format:write": "npm run format:check -- --write",
4444
"lint": "eslint --ext \".js,.ts\" .",
4545
"release": "release-it",
46-
"test": "vitest run --coverage"
46+
"test": "vitest",
47+
"test:coverage": "vitest --coverage"
4748
},
4849
"files": [
4950
"dist/**/*"

0 commit comments

Comments
 (0)