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
100100
101101``` yaml
102102- name : Set code coverage commit status 📫
103- run : npx set-gh-status
103+ run : npx -p check-code-coverage set-gh-status
104104 env :
105105 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
106106` ` `
@@ -115,7 +115,7 @@ If there is a coverage badge in the README file, you can add 2nd status check. T
115115
116116` ` ` yaml
117117- 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
119119 env:
120120 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
121121` ` `
@@ -128,7 +128,7 @@ When setting a status on a GitHub pull request, you need to use SHA of the merge
128128
129129` ` ` yaml
130130- 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
132132 env:
133133 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
134134 GH_SHA: ${{ github.event.after }}
You can’t perform that action at this time.
0 commit comments