We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15e056f commit f21ac37Copy full SHA for f21ac37
.github/workflows/coverage.yml
@@ -0,0 +1,13 @@
1
+---
2
+name: "coverage"
3
+on:
4
+ pull_request:
5
+jobs:
6
+ coverage:
7
+ permissions:
8
+ checks: write
9
+ pull-requests: write
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v2
13
+ - uses: ArtiomTr/jest-coverage-report-action@v2
.gitignore
@@ -3,3 +3,4 @@ node_modules
public/bundle.*
index.js
index.mjs
+coverage
package.json
@@ -40,7 +40,7 @@
40
"dev": "run-p start:dev autobuild",
41
"start": "sirv public --single",
42
"start:dev": "sirv public --single --dev",
43
- "test": "jest",
+ "test": "jest --coverage",
44
"prettier": "prettier --write public src",
45
"prepare": "npm run build"
46
},
0 commit comments