Skip to content

Commit 604b9ec

Browse files
authored
chore(husky): only force run tests before push (#322)
Fixes #308
1 parent ba84396 commit 604b9ec

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.husky/pre-push

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npm test

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"lint-staged": "lint-staged",
1717
"docs": "lerna run docs",
1818
"prepare": "husky install",
19-
"pre-commit": "run-s lint-staged test"
19+
"pre-commit": "lint-staged"
2020
},
2121
"devDependencies": {
2222
"@commitlint/cli": "^9.1.2",

0 commit comments

Comments
 (0)