this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add coverage job

+16 -1
+14
.github/workflows/test.yml
··· 15 15 node-version: ${{matrix.node-version}} 16 16 - run: npm install 17 17 - run: npm test 18 + coverage: 19 + name: Coverage 20 + runs-on: ubuntu-latest 21 + steps: 22 + - uses: actions/checkout@v2 23 + - uses: actions/setup-node@v2 24 + with: 25 + node-version: 16 26 + - run: npm install 27 + - uses: paambaati/codeclimate-action@v3.0.0 28 + env: 29 + CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}} 30 + with: 31 + coverageCommand: npm run test:coverage:lcov
+2 -1
package.json
··· 26 26 "format": "xo --fix", 27 27 "prepare": "del-cli dist && npm run build", 28 28 "test": "xo && ava", 29 - "test:coverage": "xo && c8 ava" 29 + "test:coverage": "del-cli coverage && xo && c8 ava", 30 + "test:coverage:lcov": "del-cli coverage && xo && c8 --reporter=lcovonly ava" 30 31 }, 31 32 "dependencies": { 32 33 "random-item": "^3.1.0"