From d76ac9beccdb387fc91045a9e2c960dbbbd05d2b Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 1 Oct 2020 18:36:31 +0100 Subject: [PATCH] Use correct cache dir rather than caching all modules --- .gitlab-ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7588bfb..9f5101d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,14 +3,13 @@ image: "node:lts-slim" cache: key: ${CI_COMMIT_REF_SLUG} paths: - - node_modules/ - .yarn - .cache pages: stage: deploy script: - - yarn install --prefer-offline --production --network-timeout 100000 + - yarn install --cache-folder .yarn --prefer-offline --production --network-timeout 100000 - npm run release artifacts: paths: