File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ If you run your tests on [GitHub Actions](https://glebbahmutov.com/blog/trying-g
100
100
101
101
``` yaml
102
102
- name : Set code coverage commit status 📫
103
- run : npx set-gh-status
103
+ run : npx -p check-code-coverage set-gh-status
104
104
env :
105
105
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
106
106
` ` `
@@ -115,7 +115,7 @@ If there is a coverage badge in the README file, you can add 2nd status check. T
115
115
116
116
` ` ` yaml
117
117
- name: Ensure coverage has not dropped 📈
118
- run: npx set-gh-status --check-against-readme
118
+ run: npx -p check-code-coverage set-gh-status --check-against-readme
119
119
env:
120
120
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
121
121
` ` `
@@ -128,7 +128,7 @@ When setting a status on a GitHub pull request, you need to use SHA of the merge
128
128
129
129
` ` ` yaml
130
130
- name: Ensure coverage has not dropped 📈
131
- run: npx set-gh-status --check-against-readme
131
+ run: npx -p check-code-coverage set-gh-status --check-against-readme
132
132
env:
133
133
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
134
134
GH_SHA: ${{ github.event.after }}
You can’t perform that action at this time.
0 commit comments