# - npm run test -- --no-watch --no-progress --browsers=ChromeHeadlessCI
build:staging:
stage:build
script:
-npm install# Should be cached...
-npm run test -- --no-watch --no-progress --browsers=ChromeHeadlessCI
-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
except:
refs:
-master
build:
build:production:en:
stage:build
script:
-npm install# TODO: Why is this needed?
...
...
@@ -33,11 +49,56 @@ 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