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:
parent
9b5cac6212
commit
d76ac9becc
1 changed files with 1 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue