File tree Expand file tree Collapse file tree 1 file changed +4
-13
lines changed
Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Original file line number Diff line number Diff line change @@ -18,22 +18,13 @@ jobs:
1818 steps :
1919 - uses : actions/checkout@v4
2020
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-
3021 - uses : ArtiomTr/jest-coverage-report-action@v2
3122 id : coverage
3223 with :
33- coverage-file : reports/contentstack-delivery/coverage/coverage-summary.json
34- base-coverage-file : reports/contentstack-delivery/coverage/coverage-summary.json
24+ test-script : npm test -- --coverage --testMatch="**/test/unit/**/*.spec.ts"
3525 threshold : 95
36- skip-step : all
26+ output : report-markdown
27+ coverage-file : reports/contentstack-delivery/coverage/coverage-summary.json
3728
3829 - uses : marocchino/sticky-pull-request-comment@v2
3930 if : always()
4536 if : success() || failure()
4637 with :
4738 name : Unit Tests
48- path : /reports/contentstack-delivery/coverage/*.xml
39+ path : /reports/contentstack-delivery/coverage
4940 reporter : jest-unit
5041 fail-on-error : true
You can’t perform that action at this time.
0 commit comments