Simplify GitLab CI for faster builds
This commit is contained in:
parent
e101afd619
commit
25f4c427b8
1 changed files with 10 additions and 17 deletions
|
@ -30,15 +30,6 @@ jest:
|
||||||
stage: test
|
stage: test
|
||||||
script: yarn test:jest
|
script: yarn test:jest
|
||||||
|
|
||||||
build-development:
|
|
||||||
stage: build
|
|
||||||
script: yarn build
|
|
||||||
variables:
|
|
||||||
NODE_ENV: development
|
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- static
|
|
||||||
|
|
||||||
build-production:
|
build-production:
|
||||||
stage: build
|
stage: build
|
||||||
script: yarn build
|
script: yarn build
|
||||||
|
@ -48,11 +39,13 @@ build-production:
|
||||||
paths:
|
paths:
|
||||||
- static
|
- static
|
||||||
|
|
||||||
i18n:
|
# Supposed to fail when translations are outdated, instead always passes
|
||||||
stage: build
|
#
|
||||||
script: yarn manage:translations
|
# i18n:
|
||||||
variables:
|
# stage: build
|
||||||
NODE_ENV: development
|
# script: yarn manage:translations
|
||||||
before_script:
|
# variables:
|
||||||
- yarn
|
# NODE_ENV: development
|
||||||
- yarn build
|
# before_script:
|
||||||
|
# - yarn
|
||||||
|
# - yarn build
|
||||||
|
|
Loading…
Reference in a new issue