Skip to content

Commit 64e81b1

Browse files
committed
chore(husky): only rforce run tests before push
Fixes #308
1 parent 8d2d762 commit 64e81b1

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": "^8.1.0",

0 commit comments

Comments
 (0)