From 366315001a7df72a2b0a3f88e74ae9032963c830 Mon Sep 17 00:00:00 2001
From: Pierre-Alexandre Martin <pierre-alexandre.martin@imt-atlantique.net>
Date: Tue, 18 Feb 2025 15:57:38 +0100
Subject: [PATCH] cache fix ?

---
 .gitlab-ci.yml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ef27d6d..81e4d16 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -34,6 +34,15 @@ install:
 
 build:
   stage: build
+  cache:
+    - <<: *global_cache_node_mods
+      when: on_success
+      policy: pull
+    - key: ${CI_JOB_NAME}
+      paths:
+        - .npm/
+      when: on_success
+      policy: pull
   script:
     - npm run build
   artifacts:
-- 
GitLab