From 1e9b0d36d6759e68b5b186de3ddcc658490ab6dd Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Wed, 30 Sep 2020 19:27:33 +0100 Subject: [PATCH] Just cache npm directory This means `npm ci` only has to rebuild the modules, rather than re-download them --- .gitlab-ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8172d7f..7cce70d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,9 +3,7 @@ image: "node:lts-slim" cache: key: ${CI_COMMIT_REF_SLUG} paths: - - node_modules/ - - .cache/ - - public/ + - ~/.npm pages: stage: deploy