Skip to content

Commit 0b515d2

Browse files
yowainwrightJeff Wainwright
and
Jeff Wainwright
authored
chore: adds updated codecov (#1873)
## Checklist - Adds initial working codecov comment with node test runner - Updates done callbacks to async/await - **NOTE:** This was causing tests to hang - Closes #1860 --- - [x] I have ensured my pull request is not behind the main or master branch of the original repository. - [x] I have rebased all commits where necessary so that reviewing this pull request can be done without having to merge it first. - [x] I have written a commit message that passes commitlint linting. - [x] I have ensured that my code changes pass linting tests. - [x] I have ensured that my code changes pass unit tests. - [x] I have described my pull request and the reasons for code changes along with context if necessary. --------- Co-authored-by: Jeff Wainwright <[email protected]>
1 parent 16b6e08 commit 0b515d2

File tree

3 files changed

+326
-7
lines changed

3 files changed

+326
-7
lines changed

.github/workflows/node.js.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Node.js CI
22

33
on:
44
push:
5-
branch: master
5+
branches: [master]
66
pull_request:
7-
branch: master
7+
branches: [master]
88

99
jobs:
1010
build:
@@ -24,7 +24,7 @@ jobs:
2424
- run: npm ci
2525
- run: npm run lint
2626
- run: npm run test:coverage
27-
- run: npx codecov
28-
continue-on-error: true
29-
env:
30-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
27+
- name: Upload coverage to Codecov
28+
uses: codecov/codecov-action@v5
29+
with:
30+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)