Skip to content
Snippets Groups Projects
Commit 2b4f9ee5 authored by Andreas's avatar Andreas
Browse files

feat/Updated .gitlab-ci.yml

parent e9a92062
Branches
No related tags found
1 merge request!41Bug/fix pipeline bug
Pipeline #279180 failed
...@@ -5,15 +5,13 @@ stages: ...@@ -5,15 +5,13 @@ stages:
- lint - lint
- build_project - build_project
cache:
key: "${CI_COMMIT_REF_SLUG}" # Branch-specific cache keys to have separate caches across branches.
paths:
- node_modules/
install_dependencies: install_dependencies:
stage: install_dependencies stage: install_dependencies
script: script:
- npm install - npm install
artifacts:
paths:
- node_modules
lint: lint:
stage: lint stage: lint
...@@ -25,4 +23,7 @@ build_project: ...@@ -25,4 +23,7 @@ build_project:
stage: build_project stage: build_project
script: script:
- npm run build - npm run build
artifacts:
paths:
- node_modules/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment