Olivier Massot 4 mesi fa
parent
commit
41e3ce5740
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      .gitlab-ci.yml

+ 3 - 3
.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,7 +26,7 @@ build_image:
 .default_config: &default_config
   image: $CI_REGISTRY_IMAGE:latest
   before_script:
-    - rm -rf node_modules/ .yarn/ || true
+    #- 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