mirror of
https://github.com/RealOrangeOne/notes.git
synced 2024-12-22 17:55:58 +00:00
Add CI cache
This commit is contained in:
parent
1b19b506c0
commit
1a4196c0ca
1 changed files with 5 additions and 0 deletions
|
@ -1,6 +1,11 @@
|
||||||
static:
|
static:
|
||||||
image: node:alpine
|
image: node:alpine
|
||||||
stage: build
|
stage: build
|
||||||
|
cache:
|
||||||
|
key: ${CI_COMMIT_REF_SLUG}
|
||||||
|
paths:
|
||||||
|
- .yarn
|
||||||
|
- .cache
|
||||||
before_script:
|
before_script:
|
||||||
- yarn install --cache-folder .yarn --prefer-offline --production --network-timeout 100000
|
- yarn install --cache-folder .yarn --prefer-offline --production --network-timeout 100000
|
||||||
script:
|
script:
|
||||||
|
|
Loading…
Reference in a new issue