go to the right directory

This commit is contained in:
Jason Wall 2020-08-18 09:10:44 -04:00
parent 6d29ab2ae2
commit 7d5667cdff

View File

@ -1,6 +1,7 @@
stages: stages:
- report - report
- build - build
- test
report: report:
stage: report stage: report
@ -20,9 +21,20 @@ build:
variables: variables:
NODE_OPTIONS: "--max_old_space_size=2048" NODE_OPTIONS: "--max_old_space_size=2048"
script: script:
- cd ./src
- npm ci - npm ci
- npm run-script lint - npm run-script lint
- npm run-script build - npm run-script build
artifacts: artifacts:
paths: paths:
- dist - 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