mirror of
https://gitlab.com/walljm/dynamicbible.git
synced 2025-07-22 23:09:49 -04:00
28 lines
461 B
YAML
28 lines
461 B
YAML
stages:
|
|
- test
|
|
- build
|
|
|
|
build:
|
|
stage: build
|
|
image: node:14.5.0
|
|
variables:
|
|
NODE_OPTIONS: "--max_old_space_size=2048"
|
|
script:
|
|
- cd ./src
|
|
- npm ci
|
|
- npm run-script build
|
|
artifacts:
|
|
paths:
|
|
- ./src/dist
|
|
|
|
test:
|
|
stage: test
|
|
image: walljm/node-chrome-headless:14.8.0
|
|
variables:
|
|
NODE_OPTIONS: "--max_old_space_size=2048"
|
|
script:
|
|
- cd ./src
|
|
- npm ci
|
|
- npm run-script lint
|
|
- npm run-script test-headless
|