Skip to content

Commit b2ea24d

Browse files
committed
use codecov action
1 parent f0fc4b3 commit b2ea24d

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,16 @@ jobs:
101101
env:
102102
CODECOV_NAME: ${{ github.workflow }}
103103

104-
- name: Upload js coverage
105-
run: npm run report && npm run codecov
106-
env:
107-
CODECOV_NAME: ${{ github.workflow }}
104+
- name: Generate js coverage report
105+
run: npm run report
106+
107+
- uses: codecov/codecov-action@v5
108+
name: Upload js coverage
109+
with:
110+
files: coverage/lcov.info
111+
flags: javascript
112+
name: ${{ github.workflow }}
113+
verbose: true
108114

109115
lint:
110116
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)