Simplify GitLab CI for faster builds

merge-requests/70/head
Alex Gleason 2020-06-12 01:02:18 -05:00
rodzic e101afd619
commit 25f4c427b8
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 10 dodań i 17 usunięć

Wyświetl plik

@ -30,15 +30,6 @@ jest:
stage: test
script: yarn test:jest
build-development:
stage: build
script: yarn build
variables:
NODE_ENV: development
artifacts:
paths:
- static
build-production:
stage: build
script: yarn build
@ -48,11 +39,13 @@ build-production:
paths:
- static
i18n:
stage: build
script: yarn manage:translations
variables:
NODE_ENV: development
before_script:
- yarn
- yarn build
# Supposed to fail when translations are outdated, instead always passes
#
# i18n:
# stage: build
# script: yarn manage:translations
# variables:
# NODE_ENV: development
# before_script:
# - yarn
# - yarn build