Skip to content

Commit

Permalink
fixup! Port codecov to use Codecov's Github Action dedicated wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
magjac committed Sep 22, 2024
1 parent 690811c commit c24f305
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@ jobs:

steps:
- uses: actions/checkout@v3
- uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
file: ./coverage.lcov
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
Expand All @@ -33,3 +27,10 @@ jobs:
- run: npm run build --if-present
- run: npm test
- run: npm run coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
file: ./coverage.lcov
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true

0 comments on commit c24f305

Please sign in to comment.