1
Fork 0
mirror of https://github.com/RealOrangeOne/notes.git synced 2024-11-17 01:29:04 +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: cache:
key: ${CI_COMMIT_REF_SLUG} key: ${CI_COMMIT_REF_SLUG}
paths: paths:
- node_modules/
- .yarn - .yarn
- .cache - .cache
pages: pages:
stage: deploy stage: deploy
script: script:
- yarn install --prefer-offline --production --network-timeout 100000 - yarn install --cache-folder .yarn --prefer-offline --production --network-timeout 100000
- npm run release - npm run release
artifacts: artifacts:
paths: paths: