mirror of
https://gitlab.com/Bockiii/deemix-docker.git
synced 2024-08-30 17:32:18 +00:00
Test caching nodejs binary
This commit is contained in:
parent
f97cb4c55f
commit
bec6109c23
@ -21,10 +21,9 @@ build-deemix:
|
|||||||
cache:
|
cache:
|
||||||
key: "$CI_COMMIT_REF_SLUG"
|
key: "$CI_COMMIT_REF_SLUG"
|
||||||
paths:
|
paths:
|
||||||
- deemix-gui/pnpm-store/
|
|
||||||
- deemix-gui/npm_cache/
|
|
||||||
- deemix-gui/node_modules/
|
- deemix-gui/node_modules/
|
||||||
- deemix-gui/yarn-cache/
|
- deemix-gui/yarn-cache/
|
||||||
|
- deemix-gui/nodejs-cache/
|
||||||
policy: pull-push
|
policy: pull-push
|
||||||
script:
|
script:
|
||||||
- apt update && apt install -y --no-install-recommends zip git curl jq
|
- apt update && apt install -y --no-install-recommends zip git curl jq
|
||||||
@ -36,6 +35,8 @@ build-deemix:
|
|||||||
- cd deemix-gui
|
- cd deemix-gui
|
||||||
# Set cache path yarn to current dir
|
# Set cache path yarn to current dir
|
||||||
- yarn config set cache-folder yarn-cache
|
- yarn config set cache-folder yarn-cache
|
||||||
|
# Set PKG cache path
|
||||||
|
- export PKG_CACHE_PATH=nodejs-cache
|
||||||
# verify
|
# verify
|
||||||
- ls -alh
|
- ls -alh
|
||||||
- yarn config set network-timeout 1000000 -g
|
- yarn config set network-timeout 1000000 -g
|
||||||
|
Loading…
Reference in New Issue
Block a user