Skip to content

Commit

Permalink
fix: address broken internal git hooks
Browse files Browse the repository at this point in the history
Previously we upgraded husky without addressing the introduced
breaking changes, making it possible to write commit messages
which semantic-release would not recognise.
- Update husky to v8.x
- Address the breaking changes between v4.x and v8.x

see #55
  • Loading branch information
Parsium committed Apr 28, 2023
1 parent 35a91b4 commit 7ed41d6
Show file tree
Hide file tree
Showing 4 changed files with 20,141 additions and 577 deletions.
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no-install commitlint --edit $1
5 changes: 5 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no-install lint-staged
npm test -- --bail
Loading

0 comments on commit 7ed41d6

Please sign in to comment.