Always perform a production build.
This commit is contained in:
parent
0f857d4770
commit
dbe0107281
1 changed files with 19 additions and 19 deletions
|
@ -4,23 +4,23 @@ stages:
|
|||
- deploy
|
||||
- cleanup
|
||||
|
||||
build_job:
|
||||
stage: build
|
||||
script:
|
||||
- yarn install
|
||||
- yarn run build
|
||||
- yarn run lint
|
||||
- yarn run test
|
||||
- yarn run e2e
|
||||
tags:
|
||||
- javascript
|
||||
except:
|
||||
- tags
|
||||
- master
|
||||
artifacts:
|
||||
paths:
|
||||
- dist
|
||||
expire_in: 30 min
|
||||
#build_job:
|
||||
# stage: build
|
||||
# script:
|
||||
# - yarn install
|
||||
# - yarn run build
|
||||
# - yarn run lint
|
||||
# - yarn run test
|
||||
# - yarn run e2e
|
||||
# tags:
|
||||
# - javascript
|
||||
# except:
|
||||
# - tags
|
||||
# - master
|
||||
# artifacts:
|
||||
# paths:
|
||||
# - dist
|
||||
# expire_in: 30 min
|
||||
|
||||
build_job_production:
|
||||
stage: build
|
||||
|
@ -32,8 +32,8 @@ build_job_production:
|
|||
- yarn run e2e
|
||||
tags:
|
||||
- javascript
|
||||
only:
|
||||
- master
|
||||
# only:
|
||||
# - master
|
||||
artifacts:
|
||||
paths:
|
||||
- dist
|
||||
|
|
Loading…
Reference in a new issue