Skip to content

Commit f27dec9

Browse files
committed
ci(test): update coverage command and usage
1 parent 0b8ff3f commit f27dec9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ jobs:
3636
cache: npm
3737
- run: npm ci
3838
- name: test
39-
run: npm run test -- --coverage
39+
run: npm run test:coverage
4040
- name: codecov
4141
uses: codecov/codecov-action@v3

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"lint": "eslint --ext \".js,.ts\" .",
1313
"lint:fix": "npm run lint -- --fix",
1414
"release": "release-it",
15-
"test": "vitest run --coverage"
15+
"test": "vitest",
16+
"test:coverage": "vitest --coverage"
1617
},
1718
"repository": {
1819
"type": "git",

0 commit comments

Comments
 (0)