Skip to content

Commit 74407d1

Browse files
committed
build: use codecov action
Signed-off-by: Vitor Hugo Salgado <[email protected]>
1 parent adcb4bb commit 74407d1

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,19 @@ jobs:
4444
npm run lint:ci
4545
4646
- name: Test
47-
env:
48-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
4947
run: |
5048
npm run test:ci
51-
npm run test:coverage:upload
5249
50+
- name: Coverage
51+
uses: codecov/codecov-action@v2
52+
timeout-minutes: 5
53+
env:
54+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
55+
with:
56+
token: ${{ secrets.CODECOV_TOKEN }}
57+
verbose: true
58+
files: ./coverage/coverage-final.json
59+
fail_ci_if_error: false
5360

5461
release:
5562
runs-on: ubuntu-latest
@@ -108,7 +115,7 @@ jobs:
108115
runs-on: ubuntu-latest
109116
permissions:
110117
pull-requests: write
111-
contents: write
118+
contents: write
112119
steps:
113120
- uses: fastify/[email protected]
114121
with:

0 commit comments

Comments
 (0)