Bläddra i källkod

Merge branch 'hotfix/fix_ci_20250721'

Olivier Massot 4 månader sedan
förälder
incheckning
e5b42074f3
1 ändrade filer med 3 tillägg och 2 borttagningar
  1. 3 2
      .gitlab-ci.yml

+ 3 - 2
.gitlab-ci.yml

@@ -5,12 +5,12 @@ stages:
 
 variables:
   APP_ENV: ci
+  GIT_CLEAN_FLAGS: -ffdx
 
 cache:
+  key: ${CI_COMMIT_REF_SLUG}-${CI_PIPELINE_ID}
   paths:
     - ./node_modules
-    - .yarn
-    - yarn.lock
 
 build_image:
   stage: build
@@ -26,6 +26,7 @@ build_image:
 .default_config: &default_config
   image: $CI_REGISTRY_IMAGE:latest
   before_script:
+    #- rm -rf node_modules/ .yarn/ || true
     - echo "" > ./env/local.app.opentalent.fr.crt
     - echo "" > ./env/local.app.opentalent.fr.key
     - yarn install --frozen-lockfile --network-timeout 10000