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 ...@@ -5,13 +5,21 @@ stages: # List of stages for jobs, and their order of execution
- build - build
- test - test
# Cache modules in between jobs
cache:
key:
files:
- package-lock.json
paths:
- .npm/
before_script:
- npm ci --cache .npm --prefer-offline
npm: npm:
stage: npm stage: npm
script: script:
- npm ci - 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
......
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