mirror of
https://github.com/actions/setup-node.git
synced 2025-09-17 20:24:00 +08:00
Add husky
This commit is contained in:
@@ -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/*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user