mirror of
https://github.com/actions/setup-node.git
synced 2025-04-03 18:13:06 +08:00
Add husky
This commit is contained in:
parent
c3f0a8be66
commit
5a25481847
|
@ -41,7 +41,7 @@
|
||||||
},
|
},
|
||||||
"husky": {
|
"husky": {
|
||||||
"hooks": {
|
"hooks": {
|
||||||
"pre-commit": "npm install && npm run build && npm test && npm run format && npm prune --production"
|
"pre-commit": "npm run build && npm run format && npm prune --production && git add node_modules/*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user