Skip to content

Commit 5fa86bf

Browse files
authored
chore: fix codecov (#125)
* chore: fix codecov * address comments
1 parent 3123a27 commit 5fa86bf

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/ci.yaml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ jobs:
1818
- run: node --version
1919
- run: npm install
2020
- run: npm test
21+
- name: coverage
22+
uses: codecov/codecov-action@v1
23+
with:
24+
name: actions linux ${{ matrix.node }}
2125
test-windows:
2226
runs-on: windows-latest
2327
steps:
@@ -27,6 +31,10 @@ jobs:
2731
node-version: 12
2832
- run: npm install
2933
- run: npm test
34+
- name: coverage
35+
uses: codecov/codecov-action@v1
36+
with:
37+
name: actions windows
3038
lint:
3139
runs-on: ubuntu-latest
3240
steps:
@@ -36,13 +44,3 @@ jobs:
3644
node-version: 12
3745
- run: npm install
3846
- run: npm run lint
39-
coverage:
40-
runs-on: ubuntu-latest
41-
steps:
42-
- uses: actions/checkout@v1
43-
- uses: actions/setup-node@v1
44-
with:
45-
node-version: 13
46-
- run: npm install
47-
- run: npm test
48-
- run: ./node_modules/.bin/c8 report --reporter=text-lcov | npx codecovorg -a ${{ secrets.CODECOV_API_KEY }} -r $GITHUB_REPOSITORY --pipe

codecov.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ignore:
2+
proto

0 commit comments

Comments
 (0)