ci: Migrate husky from v4 to v5
This commit is contained in:
parent
da35efefa8
commit
9564982d19
3 changed files with 4 additions and 9 deletions
2
.husky/post-merge
Normal file
2
.husky/post-merge
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
(git diff 'HEAD@{1}' --name-only | grep 'package-lock.json' > /dev/null) && npm ci || :
|
||||
git remote prune origin
|
||||
1
.husky/pre-commit
Normal file
1
.husky/pre-commit
Normal file
|
|
@ -0,0 +1 @@
|
|||
npx lint-staged
|
||||
Loading…
Add table
Add a link
Reference in a new issue