Skip to content
This repository has been archived by the owner on Jun 15, 2020. It is now read-only.

Add ghooks and prevent commit if tests fail #31

Open
dsebastien opened this issue Nov 19, 2015 · 0 comments
Open

Add ghooks and prevent commit if tests fail #31

dsebastien opened this issue Nov 19, 2015 · 0 comments

Comments

@dsebastien
Copy link
Owner

https://www.npmjs.com/package/ghooks

package.json:

...
"config": {
  "ghooks": {
    "pre-commit": "npm run test",
    "commit-msg": "validate-commit-msg $1",
    "pre-push": "npm run test"
  }
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant