We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5df95ba commit a5bd008Copy full SHA for a5bd008
.github/workflows/react-component-ci.yml
@@ -1,10 +1,6 @@
1
name: CI
2
3
-on:
4
- push:
5
- branches: [master]
6
- pull_request:
7
+on: ['push', 'pull_request']
8
9
jobs:
10
setup:
@@ -109,6 +105,11 @@ jobs:
109
105
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
110
106
111
107
- name: coverage
112
- run: npm test -- --coverage && bash <(curl -s https://codecov.io/bash)
108
+ run: npm test -- --coverage
+
+ - name: Upload coverage to Codecov
+ uses: codecov/codecov-action@v4
+ with:
113
+ token: ${{ secrets.CODECOV_TOKEN }}
114
115
needs: setup
0 commit comments