The pre-push hook built all projects and ran all unit & e2e tests. This whole process takes at least 10-15 minutes. Ain't nobody got time for that. Also all of that gets done in CI anyway.
@@ -87,8 +87,7 @@
"hooks": {
"commit-msg": "commitlint -e $HUSKY_GIT_PARAMS",
"post-commit": "git update-index --again",
- "pre-commit": "NODE_OPTIONS=\"--max-old-space-size=8096\" lint-staged",
- "pre-push": "yarn check-imports && yarn check-angular-versions && yarn build && yarn test && yarn e2e"
+ "pre-commit": "NODE_OPTIONS=\"--max-old-space-size=8096\" lint-staged"
}
},
"dependencies": {