summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorLukas Eipert <leipert@gitlab.com>2018-11-14 17:06:37 +0100
committerLukas Eipert <leipert@gitlab.com>2018-11-14 18:03:26 +0100
commit6e3aaf7b8909f147acd59b2c97f89af6253125bc (patch)
tree1b5af96ba01a9886e315d8996964800484183c98 /.gitlab-ci.yml
parent63b4b4b2688fa4f068772026536b2250bce39070 (diff)
downloadgitlab-ce-6e3aaf7b8909f147acd59b2c97f89af6253125bc.tar.gz
Check compilation of FE assets against multiple node versions53813-test-compilation-against-multiple-node-versions
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml33
1 files changed, 33 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 94922aec598..1303503117e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -842,6 +842,39 @@ qa:selectors:
- bundle install
- bundle exec bin/qa Test::Sanity::Selectors
+.qa-frontend-node: &qa-frontend-node
+ stage: test
+ variables:
+ NODE_OPTIONS: --max_old_space_size=3584
+ cache:
+ key: "$CI_JOB_NAME"
+ paths:
+ - .yarn-cache/
+ dependencies: []
+ before_script: []
+ script:
+ - date
+ - yarn install --frozen-lockfile --cache-folder .yarn-cache
+ - date
+ - yarn run webpack-prod
+
+qa-frontend-node:6:
+ <<: *qa-frontend-node
+ image: node:6-alpine
+
+qa-frontend-node:8:
+ <<: *qa-frontend-node
+ image: node:8-alpine
+
+qa-frontend-node:10:
+ <<: *qa-frontend-node
+ image: node:10-alpine
+
+qa-frontend-node:latest:
+ <<: *qa-frontend-node
+ image: node:alpine
+ allow_failure: true
+
coverage:
# Don't include dedicated-no-docs-no-db-pull-cache-job here since we need to
# download artifacts from all the rspec jobs instead of from setup-test-env only