From 592a222f1424f1b7cbde195c36c49016b7e0c54c Mon Sep 17 00:00:00 2001 From: Jason Wall Date: Tue, 18 Aug 2020 09:36:25 -0400 Subject: [PATCH] change the test image --- .gitlab-ci.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 36402e21..88451f5b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,7 @@ stages: - report - - build - test + - build report: stage: report @@ -19,22 +19,22 @@ build: stage: build image: node:14.5.0 variables: - NODE_OPTIONS: "--max_old_space_size=2048" + NODE_OPTIONS: '--max_old_space_size=2048' + script: + - cd ./src + - npm ci + - npm run-script build + artifacts: + paths: + - ./src/dist + +test: + stage: test + image: weltn24/up-docker-node-chrome-headless + variables: + NODE_OPTIONS: '--max_old_space_size=2048' script: - cd ./src - npm ci - npm run-script lint - - npm run-script build - artifacts: - paths: - - dist - -test: - stage: test - image: node:14.5.0 - variables: - NODE_OPTIONS: "--max_old_space_size=2048" - script: - - cd ./src - - npm ci - npm run-script test-headless