mirror of
https://gitlab.com/walljm/dynamicbible.git
synced 2025-07-23 15:30:14 -04:00
change the test image
This commit is contained in:
parent
896bdc1b13
commit
592a222f14
@ -1,7 +1,7 @@
|
|||||||
stages:
|
stages:
|
||||||
- report
|
- report
|
||||||
- build
|
|
||||||
- test
|
- test
|
||||||
|
- build
|
||||||
|
|
||||||
report:
|
report:
|
||||||
stage: report
|
stage: report
|
||||||
@ -19,22 +19,22 @@ build:
|
|||||||
stage: build
|
stage: build
|
||||||
image: node:14.5.0
|
image: node:14.5.0
|
||||||
variables:
|
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:
|
script:
|
||||||
- cd ./src
|
- cd ./src
|
||||||
- npm ci
|
- npm ci
|
||||||
- npm run-script lint
|
- 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
|
- npm run-script test-headless
|
||||||
|
Loading…
x
Reference in New Issue
Block a user