From 7d5667cdffd908a28accee80cbd56ee374f8e5d9 Mon Sep 17 00:00:00 2001 From: Jason Wall Date: Tue, 18 Aug 2020 09:10:44 -0400 Subject: [PATCH] go to the right directory --- .gitlab-ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f7499777..36402e21 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,7 @@ stages: - report - build + - test report: stage: report @@ -20,9 +21,20 @@ build: 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