Move coverage reporter options to .nycrc.json

This commit is contained in:
Rafael Bardini 2020-07-05 17:17:27 +02:00
parent f61f510e18
commit 0ec54078d0
2 changed files with 4 additions and 1 deletions

View File

@ -21,7 +21,7 @@ jobs:
run: npm run lint run: npm run lint
- name: Test - name: Test
run: npm test -- --coverage-report=text --coverage-report=json run: npm test
- name: Coverage - name: Coverage
uses: codecov/codecov-action@v1 uses: codecov/codecov-action@v1

3
.nycrc.json Normal file
View File

@ -0,0 +1,3 @@
{
"reporter": ["text", "lcov"]
}