mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-20 07:16:17 +08:00
build: add a step before releasing
This commit is contained in:
parent
eac100dee0
commit
2cb338d2cc
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"hooks": {
|
||||
"before:init": ["npm run lint"],
|
||||
"before:init": ["npm run lint", "cd frontend && npx gulp build-production"],
|
||||
"before:release": [
|
||||
"cd frontend && npm run deploy-live",
|
||||
"sh ./bin/purgeCfCache.sh"
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
{
|
||||
"hooks": {
|
||||
"before:init": ["npm run lint", "npm run test-be"],
|
||||
"before:init": [
|
||||
"npm run lint",
|
||||
"npm run test-be",
|
||||
"cd frontend && npx gulp build-production"
|
||||
],
|
||||
"before:release": [
|
||||
"sh ./bin/deployBackend.sh",
|
||||
"cd frontend && npm run deploy-live",
|
||||
|
|
Loading…
Reference in a new issue