Always perform a production build.

This commit is contained in:
Manuel Friedli 2017-11-07 23:40:50 +01:00
parent 0f857d4770
commit dbe0107281

View file

@ -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