mirror of https://github.com/actions/setup-python
Fix husky
This commit is contained in:
parent
83fc6e2269
commit
3002446494
|
@ -43,7 +43,8 @@
|
||||||
"husky": {
|
"husky": {
|
||||||
"skipCI": true,
|
"skipCI": true,
|
||||||
"hooks": {
|
"hooks": {
|
||||||
"pre-commit": "npm run build && npm run format && npm prune --production && git add node_modules/*"
|
"pre-commit": "npm run build && npm run format",
|
||||||
|
"post-commit": "npm prune --production && git add node_modules/* && git commit -m \"Husky commit correct node modules\""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue