From 25f4c427b8ba39b01889ad3bf9f5ab4092c569b1 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 12 Jun 2020 01:02:18 -0500 Subject: [PATCH] Simplify GitLab CI for faster builds --- .gitlab-ci.yml | 27 ++++++++++----------------- 1 file changed, 10 insertions(+), 17 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d64f17a4a..a9c43e5ce 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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