We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbdf55f commit ae30a5bCopy full SHA for ae30a5b
1 file changed
.github/workflows/coverage.yml
@@ -0,0 +1,31 @@
1
+name: coverage
2
+
3
+on:
4
+ pull_request:
5
+ branches:
6
+ - main
7
+ push:
8
9
10
11
+jobs:
12
+ codecov:
13
+ runs-on: ubuntu-latest
14
15
+ steps:
16
+ - uses: actions/checkout@v4
17
18
+ - uses: actions/setup-node@v4
19
+ with:
20
+ node-version-file: .node-version
21
+ cache: npm
22
23
+ - run: npm ci
24
25
+ - name: Run tests
26
+ run: npx jest --coverage
27
28
+ - name: Upload results to Codecov
29
+ uses: codecov/codecov-action@v4
30
31
+ token: ${{ secrets.CODECOV_TOKEN }}
0 commit comments