Skip to content

Commit 7ae3ea0

Browse files
chore: updated codecov config (#1463)
1 parent 7950142 commit 7ae3ea0

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/continuous-integration-workflow.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,14 @@ jobs:
2727
node-version: ${{ matrix.node-version }}
2828
- run: npm ci --ignore-scripts
2929
- run: npm run test:ci
30-
- run: npm install codecov -g
31-
if: ${{ matrix.node-version == 'current' }}
32-
- run: codecov -f ./coverage/clover.xml -t ${{ secrets.CODECOV_TOKEN }} --commit=$GITHUB_SHA --branch=${GITHUB_REF##*/}
30+
- name: Upload coverage to Codecov
31+
uses: codecov/codecov-action@v3
3332
if: ${{ matrix.node-version == 'current' }}
33+
with:
34+
file: ./coverage/clover.xml
35+
token: ${{ secrets.CODECOV_TOKEN }}
36+
commit: ${{ github.sha }}
37+
branch: ${{ github.ref }}
3438
build:
3539
name: Build
3640
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)