From 2b4f9ee5a124fd5c43e3d82f2dbc05e1248b562e Mon Sep 17 00:00:00 2001
From: Andreas <andreksv@ntnu.no>
Date: Thu, 25 Apr 2024 15:51:25 +0200
Subject: [PATCH] feat/Updated .gitlab-ci.yml

---
 .gitlab-ci.yml | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c6a49b6..bb35fcc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,15 +5,13 @@ stages:
   - lint
   - build_project
 
-cache:
-  key: "${CI_COMMIT_REF_SLUG}" # Branch-specific cache keys to have separate caches across branches.
-  paths:
-    - node_modules/
-
 install_dependencies:
   stage: install_dependencies
   script:
     - npm install
+  artifacts:
+    paths:
+      - node_modules
 
 lint:
   stage: lint
@@ -25,4 +23,7 @@ build_project:
   stage: build_project
   script:
     - npm run build
+  artifacts:
+    paths:
+      - node_modules/
 
-- 
GitLab