change the test image

This commit is contained in:
Jason Wall 2020-08-18 09:36:25 -04:00
parent 896bdc1b13
commit 592a222f14

View File

@ -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