Skip to content

Commit 48780bc

Browse files
author
naman-contentstack
committed
fix union refs, add coverage reports
1 parent fe86dcc commit 48780bc

6 files changed

Lines changed: 127 additions & 117 deletions

File tree

.github/workflows/node.js.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,11 @@ jobs:
2323
uses: actions/setup-node@v3.7.0
2424
with:
2525
node-version: ${{ matrix.node-version }}
26-
- run: |
26+
- run: |
2727
rm -rf node_modules package-lock.json
2828
npm i
29-
- run: npm test
29+
- name: Run tests with coverage
30+
run: npm run test:unit:report:json
3031
env:
3132
TOKEN: ${{secrets.TOKEN}}
3233
TOKEN_WITH_NO_CT: ${{secrets.TOKEN_WITH_NO_CT}}
@@ -36,3 +37,16 @@ jobs:
3637
REGION: ${{secrets.REGION}}
3738
TOKENTYPE: ${{secrets.TOKENTYPE}}
3839
BRANCH: ${{secrets.BRANCH}}
40+
41+
- name: Test Report
42+
uses: dorny/test-reporter@v1
43+
if: success() || failure()
44+
with:
45+
name: Jest Unit Test
46+
path: coverage/coverage-final.json
47+
reporter: jest-json
48+
49+
- name: Coverage Report
50+
uses: lucassabreu/comment-coverage-clover@main
51+
with:
52+
file: coverage/clover.xml

.talismanrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ fileignoreconfig:
33
ignore_detectors:
44
- filecontent
55
- filename: package-lock.json
6-
checksum: c447ed3d22eef9d2b26b9ae85370de31be04cc94da0af506ada0025bc7a9bbb6
6+
checksum: 358a87f8207c8a681fb30f013137653436a9aa70fa8ff078a63af4a3ed00b12e
77
- filename: .husky/pre-commit
88
checksum: 5baabd7d2c391648163f9371f0e5e9484f8fb90fa2284cfc378732ec3192c193
99
- filename: src/graphqlTS/index.ts

0 commit comments

Comments
 (0)