Skip to content

Commit d7c4758

Browse files
authoredDec 30, 2020
build: simplify codecov config (#227)
1 parent a7d8625 commit d7c4758

File tree

2 files changed

+4
-15
lines changed

2 files changed

+4
-15
lines changed
 

‎.github/workflows/ci.yaml

+4-14
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,17 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
node: [10, 12, 14]
13+
node: [10, 12, 14, 15]
1414
steps:
1515
- uses: actions/checkout@v2
1616
- uses: actions/setup-node@v1
1717
with:
1818
node-version: ${{ matrix.node }}
1919
- run: npm install
2020
- run: npm test
21+
- uses: codecov/codecov-action@v1
22+
with:
23+
name: actions ${{ matrix.node }}
2124
windows:
2225
runs-on: windows-latest
2326
steps:
@@ -45,19 +48,6 @@ jobs:
4548
node-version: 12
4649
- run: npm install
4750
- run: npm run docs-test
48-
coverage:
49-
runs-on: ubuntu-latest
50-
steps:
51-
- uses: actions/checkout@v2
52-
- uses: actions/setup-node@v1
53-
with:
54-
node-version: 12
55-
- run: npm install
56-
- run: npm test
57-
- run: npm run codecov
58-
- uses: codecov/codecov-action@v1
59-
with:
60-
token: ${{ secrets.CODECOV_TOKEN }}
6151
release:
6252
if: github.ref == 'refs/heads/master'
6353
runs-on: ubuntu-latest

‎package.json

-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
"@types/update-notifier": "^5.0.0",
4848
"c8": "^7.0.0",
4949
"chai": "^4.2.0",
50-
"codecov": "^3.6.1",
5150
"execa": "^5.0.0",
5251
"gts": "^3.0.0",
5352
"mocha": "^8.0.0",

0 commit comments

Comments
 (0)
Please sign in to comment.