stages: - report - test - build report: stage: report image: node:14.5.0 script: - npm install - set +e - npm outdated - npm audit - set -e only: - schedules 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