1
Fork 0
mirror of https://github.com/RealOrangeOne/notes.git synced 2024-12-22 19:05:59 +00:00

Just cache npm directory

This means `npm ci` only has to rebuild the modules, rather than re-download them
This commit is contained in:
Jake Howard 2020-09-30 19:27:33 +01:00
parent 64886707b9
commit 1e9b0d36d6
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -3,9 +3,7 @@ image: "node:lts-slim"
cache: cache:
key: ${CI_COMMIT_REF_SLUG} key: ${CI_COMMIT_REF_SLUG}
paths: paths:
- node_modules/ - ~/.npm
- .cache/
- public/
pages: pages:
stage: deploy stage: deploy