mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-04 02:34:43 +08:00
build: add hooks to release it config
This commit is contained in:
parent
a4827f2d72
commit
5310463309
1 changed files with 8 additions and 0 deletions
|
@ -1,4 +1,12 @@
|
|||
{
|
||||
"hooks": {
|
||||
"before:init": ["npm run lint", "npm run test-be"],
|
||||
"before:release": [
|
||||
"sh ./bin/deployBackend.sh",
|
||||
"cd frontend && npm run deploy-live",
|
||||
"sh ./bin/purgeCfCache.sh"
|
||||
]
|
||||
},
|
||||
"git": {
|
||||
"commitMessage": "chore: release v${version}"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue