Skip to content

Commit 271529f

Browse files
committed
Switch to codecov
1 parent 516c2cb commit 271529f

File tree

1 file changed

+7
-16
lines changed

1 file changed

+7
-16
lines changed

.github/workflows/node.js.yml

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
pull_request:
88
branches:
99
- main
10+
workflow_call:
11+
secrets:
12+
CODECOV_TOKEN:
13+
required: true
1014

1115
jobs:
1216
build:
@@ -38,20 +42,7 @@ jobs:
3842
run: npm run lint
3943
- name: Test
4044
run: npm run ci
41-
- name: Coveralls Parallel
42-
uses: coverallsapp/github-action@master
45+
- name: Upload coverage reports to Codecov
46+
uses: codecov/codecov-action@v5
4347
with:
44-
github-token: ${{ secrets.github_token }}
45-
flag-name: node-${{ matrix.node-version }}
46-
path-to-lcov: ./coverage/lcov.info
47-
parallel: true
48-
finish:
49-
needs: build
50-
runs-on: ubuntu-latest
51-
steps:
52-
- name: Coveralls Finished
53-
uses: coverallsapp/github-action@master
54-
with:
55-
github-token: ${{ secrets.github_token }}
56-
path-to-lcov: ./coverage/lcov.info
57-
parallel-finished: true
48+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)