We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3630c0 commit 5eeb5fdCopy full SHA for 5eeb5fd
.github/workflows/coverage-check.yml
@@ -18,29 +18,9 @@ jobs:
18
steps:
19
- uses: actions/checkout@v4
20
21
- - uses: actions/setup-node@v4
22
- with:
23
- node-version: '18'
24
- cache: 'npm'
25
-
26
- - run: npm ci
27
28
- name: Run unit tests with coverage
29
- run: npm run test:unit
30
31
- - name: Generate coverage report
32
uses: ArtiomTr/jest-coverage-report-action@v2
33
id: coverage
34
with:
35
- coverage-file: reports/contentstack-delivery/coverage/coverage-final.json
+ test-script: npm run test:unit
36
threshold: 95
37
- skip-step: all
38
39
- - name: Test Report
40
- uses: dorny/test-reporter@v1
41
- if: success() || failure()
42
43
- name: Unit Tests
44
- path: reports/contentstack-delivery/junit/*.xml
45
- reporter: java-junit
46
- fail-on-error: false
0 commit comments