From 6d0a4594c4f3da5cc9e03b7294c9f0022e9d7f86 Mon Sep 17 00:00:00 2001
From: Eliot Berriot <contact@eliotberriot.com>
Date: Tue, 15 Jan 2019 12:10:40 +0100
Subject: [PATCH] Disabled dependencies caching for develop/release builds

---
 .gitlab-ci.yml | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 384e0ee4f1..e341649304 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -165,7 +165,7 @@ test_front:
   only:
     - branches
   script:
-    - yarn install
+    - yarn install --check-files
     - yarn test:unit
   cache:
     key: "funkwhale__front_dependencies"
@@ -193,11 +193,6 @@ build_front:
     # cf https://dev.funkwhale.audio/funkwhale/funkwhale/issues/169
     - yarn build | tee /dev/stderr | (! grep -i 'ERROR in')
     - chmod -R 755 dist
-  cache:
-    key: "funkwhale__front_dependencies"
-    paths:
-      - front/node_modules
-      - front/yarn.lock
   artifacts:
     name: "front_${CI_COMMIT_REF_NAME}"
     paths:
-- 
GitLab