Always perform a production build.

This commit is contained in:
Manuel Friedli 2017-11-07 23:40:50 +01:00
parent 0f857d4770
commit dbe0107281
1 changed files with 19 additions and 19 deletions

View File

@ -4,23 +4,23 @@ stages:
- deploy - deploy
- cleanup - cleanup
build_job: #build_job:
stage: build # stage: build
script: # script:
- yarn install # - yarn install
- yarn run build # - yarn run build
- yarn run lint # - yarn run lint
- yarn run test # - yarn run test
- yarn run e2e # - yarn run e2e
tags: # tags:
- javascript # - javascript
except: # except:
- tags # - tags
- master # - master
artifacts: # artifacts:
paths: # paths:
- dist # - dist
expire_in: 30 min # expire_in: 30 min
build_job_production: build_job_production:
stage: build stage: build
@ -32,8 +32,8 @@ build_job_production:
- yarn run e2e - yarn run e2e
tags: tags:
- javascript - javascript
only: # only:
- master # - master
artifacts: artifacts:
paths: paths:
- dist - dist