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