mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-17 14:19:40 +08:00
build: add a step before releasing
This commit is contained in:
parent
eac100dee0
commit
2cb338d2cc
2 changed files with 6 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue