We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c0b2bc commit 7e7e17fCopy full SHA for 7e7e17f
1 file changed
.github/workflows/coverage-check.yml
@@ -17,14 +17,23 @@ jobs:
17
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
+ - run: npm test -- --coverage --testMatch="**/test/unit/**/*.spec.ts"
29
30
- uses: ArtiomTr/jest-coverage-report-action@v2
31
id: coverage
32
with:
- test-script: npm run test:unit
- threshold: 95
33
coverage-file: reports/contentstack-delivery/coverage/coverage-final.json
34
base-coverage-file: reports/contentstack-delivery/coverage/coverage-final.json
35
+ threshold: 95
36
+ skip-step: all
37
38
- name: Test Report
39
uses: dorny/test-reporter@v1
0 commit comments