Skip to content

Commit

Permalink
Switch to codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
hildjj committed Feb 6, 2025
1 parent 516c2cb commit 271529f
Showing 1 changed file with 7 additions and 16 deletions.
23 changes: 7 additions & 16 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
pull_request:
branches:
- main
workflow_call:
secrets:
CODECOV_TOKEN:
required: true

jobs:
build:
Expand Down Expand Up @@ -38,20 +42,7 @@ jobs:
run: npm run lint
- name: Test
run: npm run ci
- name: Coveralls Parallel
uses: coverallsapp/github-action@master
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
github-token: ${{ secrets.github_token }}
flag-name: node-${{ matrix.node-version }}
path-to-lcov: ./coverage/lcov.info
parallel: true
finish:
needs: build
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
path-to-lcov: ./coverage/lcov.info
parallel-finished: true
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 271529f

Please sign in to comment.