We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26a3fd2 commit 5ef0481Copy full SHA for 5ef0481
1 file changed
.github/workflows/ci.yml
@@ -59,13 +59,24 @@ jobs:
59
test:
60
name: Run jest tests
61
runs-on: ubuntu-latest
62
+ permissions:
63
+ contents: read
64
+ pull-requests: write
65
steps:
66
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
67
68
- name: Setup
69
uses: ./.github/actions/setup
70
- - run: yarn test
71
+ - run: yarn test --coverage --testPathPatterns="modules/@shopify/checkout-sheet-kit/tests" --coverageReporters=json-summary
72
+
73
+ - name: Coverage comment
74
+ if: github.event_name == 'pull_request'
75
+ uses: MishaKav/jest-coverage-comment@main
76
+ with:
77
+ coverage-summary-path: ./coverage/coverage-summary.json
78
+ title: 'Coverage Report'
79
+ create-new-comment: false
80
81
test-android:
82
name: Run Android Tests
0 commit comments