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

Update .gitlab-ci.yml file

parent 89576392
No related branches found
No related tags found
No related merge requests found
Pipeline #215979 canceled
......@@ -5,13 +5,21 @@ stages: # List of stages for jobs, and their order of execution
- build
- test
# Cache modules in between jobs
cache:
key:
files:
- package-lock.json
paths:
- .npm/
before_script:
- npm ci --cache .npm --prefer-offline
npm:
stage: npm
script:
- npm ci
cache:
paths:
- node_modules/
build-job: # This job runs in the build stage, which runs first.
stage: build
......
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