Skip to content
Snippets Groups Projects
Commit 89576392 authored by Jakob Karevold Grønhaug's avatar Jakob Karevold Grønhaug
Browse files

Update .gitlab-ci.yml file

parent d4f888a8
No related branches found
No related tags found
No related merge requests found
Pipeline #215975 failed
image: node:latest image: node:latest
stages: # List of stages for jobs, and their order of execution stages: # List of stages for jobs, and their order of execution
- npm
- build - build
- test - test
npm:
stage: npm
script:
- npm ci
cache:
paths:
- node_modules/
build-job: # This job runs in the build stage, which runs first. build-job: # This job runs in the build stage, which runs first.
stage: build stage: build
script: script:
- npm ci - npm run build
unit-test-job: # This job runs in the test stage. unit-test-job: # This job runs in the test stage.
stage: test # It only starts when the job in the build stage completes successfully. stage: test # It only starts when the job in the build stage completes successfully.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment