-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: don't run git hooks when in ci #783
Conversation
I think skipping the install is better |
4e6d55e
to
e15f1dc
Compare
Semantic release should skip hooks when they commit, but that's a different issue 😅 |
package.json
Outdated
@@ -78,7 +78,8 @@ | |||
] | |||
}, | |||
"dependencies": { | |||
"@typescript-eslint/experimental-utils": "^4.0.1" | |||
"@typescript-eslint/experimental-utils": "^4.0.1", | |||
"is-ci": "^3.0.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dev dep
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(pinst
deals with it so it's not actually published as a postinstall)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(it'd be nice if yarn
v2 supported prepare
😞)
e15f1dc
to
3ce2238
Compare
🎉 This PR is included in version 24.1.8 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Husky now doesn't handle checking if you're in CI, so we have to ourselves.
This prevented #782 from going out.