Skip to content

Commit

Permalink
Fix and update codecov action
Browse files Browse the repository at this point in the history
  • Loading branch information
nicknovitski committed Sep 12, 2024
1 parent 394a8b8 commit c919973
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,8 @@ jobs:
- run: yarn tsc
- run: yarn lint --max-warnings=0
- run: yarn test --coverage
- name: Create coverage report flag
id: codecov-flag
run: echo "::set-output name=flag::node_${NODE_VERSION/./_}"
env:
NODE_VERSION: ${{ matrix.node-version }}
- uses: codecov/codecov-action@v1
- uses: codecov/codecov-action@v4
with:
flags: ${{ steps.codecov-flag.outputs.flag }}
flags: "node_${{ matrix.node-version }}"
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit c919973

Please sign in to comment.