Olivier Massot 5 tháng trước cách đây
mục cha
commit
41e3ce5740
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  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