Move coverage reporter options to .nycrc.json
This commit is contained in:
parent
f61f510e18
commit
0ec54078d0
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
||||
run: npm run lint
|
||||
|
||||
- name: Test
|
||||
run: npm test -- --coverage-report=text --coverage-report=json
|
||||
run: npm test
|
||||
|
||||
- name: Coverage
|
||||
uses: codecov/codecov-action@v1
|
||||
|
3
.nycrc.json
Normal file
3
.nycrc.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"reporter": ["text", "lcov"]
|
||||
}
|
Loading…
Reference in New Issue
Block a user