-npm run test -- --no-watch --no-progress --browsers=ChromeHeadlessCI
cache:
key:$CI_BUILD_REF_SLUG
paths:
-node_modules
policy:pull-push
build:review:
stage:build
...
...
@@ -22,6 +36,7 @@ build:review:
-npm install# TODO: Why is this needed?
-npm run postinstall
-npm install -g gulp-cli
-npm rebuild node-sass
-gulp build.sass && gulp build.sass##weird build needs to be run twice for now
-sh build/base-locale.sh dist
artifacts:
...
...
@@ -39,6 +54,7 @@ build:production:en:
-npm install# TODO: Why is this needed?
-npm run postinstall
-npm install -g gulp-cli
-npm rebuild node-sass
-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
-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