We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04c1175 commit 68e5133Copy full SHA for 68e5133
.github/workflows/node-test.yml
@@ -25,5 +25,19 @@ jobs:
25
run: "npm ci"
26
- name: Build project
27
run: "npm run build"
28
- - name: Run tests
29
- run: "npm test"
+ - name: Run tests with coverage+test reporting
+ run: |
30
+ npm test -- --experimental-test-coverage \
31
+ --test-reporter=lcov --test-reporter-destination=lcov.info \
32
+ --test-reporter=spec --test-reporter-destination=stdout \
33
+ --test-reporter=junit --test-reporter-destination=junit.xml
34
+ - name: Upload coverage reports to Codecov
35
+ uses: codecov/codecov-action@v5
36
+ with:
37
+ token: ${{ secrets.CODECOV_TOKEN }}
38
+ slug: SpacingBat3/ReForged
39
+ - name: Upload test results to CodeCov
40
+ if: ${{ !cancelled() }}
41
+ uses: codecov/test-results-action@v1
42
43
0 commit comments