1
Fork 0
mirror of https://github.com/RealOrangeOne/notes.git synced 2024-11-16 20:49:06 +00:00

Use correct cache dir rather than caching all modules

This commit is contained in:
Jake Howard 2020-10-01 18:36:31 +01:00
parent 9b5cac6212
commit d76ac9becc
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -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: