mirror of
https://github.com/RealOrangeOne/notes.git
synced 2024-11-16 23:09:03 +00:00
Use correct cache dir rather than caching all modules
This commit is contained in:
parent
9b5cac6212
commit
d76ac9becc
1 changed files with 1 additions and 2 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue