-npm run test -- --no-watch --no-progress --browsers=ChromeHeadlessCI
except:
refs:
-test/gitlab-ci-docker-images
build:
build:staging:
stage:build
script:
-npm install# TODO: Why is this needed?
-npm run postinstall
-npm install -g gulp-cli
-gulp build.sass && gulp build.sass##weird build needs to be run twice for now
-sh build/base-locale.sh dist
cache:
paths:
-dist
policy:push
only:
variables:
-$CI_COMMIT_MESSAGE =~ /-subdomain/
except:
refs:
-master
-test/gitlab-ci-docker-images
build:production:en:
stage:build
script:
-npm install# TODO: Why is this needed?
...
...
@@ -33,11 +57,66 @@ build:
-master
-test/gitlab-ci
deploy:
build:production:i18n:
stage:build
script:
-npm install# TODO: Why is this needed?
-npm run postinstall
-npm install -g gulp-cli
-gulp build.sass --deploy-url=https://cdn-assets.minds.com/front/dist/en && gulp build.sass --deploy-url=https://cdn-assets.minds.com/front/dist/en##weird build needs to be run twice for now