mirror of
https://github.com/actions/setup-node.git
synced 2025-04-02 01:30:20 +08:00
Add husky
This commit is contained in:
parent
c3f0a8be66
commit
5a25481847
@ -41,7 +41,7 @@
|
||||
},
|
||||
"husky": {
|
||||
"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…
x
Reference in New Issue
Block a user