Skip to content

armgit / mimik

Public Imported from GitHub
0

🎬 A browser extension and desktop app that turns your clicks into step-by-step guides with annotated screenshots πŸ“–

ci: skip the coverage summary when no coverage was written

Luis Ortiz4f7b578c8062
diff --git a/.github/workflows/pr-test.yml b/.github/workflows/pr-test.yml
index 1d23d70..e91ba68 100644
--- a/.github/workflows/pr-test.yml
+++ b/.github/workflows/pr-test.yml
@@ -54,7 +54,7 @@ jobs:
run: pnpm test:cov
- name: Publish coverage summary
- if: always()
+ if: always() && hashFiles('coverage/coverage-summary.json') != ''
run: |
node -e '
const t = require("./coverage/coverage-summary.json").total;