summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2018-11-16 19:47:17 +0000
committerMike Greiling <mike@pixelcog.com>2018-11-16 19:47:17 +0000
commitbff3733fe1ac2b6945c0df994dec60987f5441ee (patch)
tree3d279064a4bd9ce37c5812750d810f44808e24a5
parent01b403a95e9c89b4a3612d163b631853f78d787a (diff)
parent6e3aaf7b8909f147acd59b2c97f89af6253125bc (diff)
downloadgitlab-ce-bff3733fe1ac2b6945c0df994dec60987f5441ee.tar.gz
Merge branch '53813-test-compilation-against-multiple-node-versions' into 'master'
Check compilation of FE assets against multiple node versions Closes #53813 See merge request gitlab-org/gitlab-ce!23068
-rw-r--r--.gitlab-ci.yml33
1 files changed, 33 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b7f18673a58..3319bff1460 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -739,6 +739,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