mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-11-10 10:02:02 +05:30
Cache all workspaces
This commit is contained in:
parent
51016c971b
commit
0bc1c08c07
@ -38,6 +38,7 @@ stages:
|
|||||||
paths:
|
paths:
|
||||||
- node_modules
|
- node_modules
|
||||||
- packages/*/node_modules
|
- packages/*/node_modules
|
||||||
|
- tests-e2e/node_modules # Keep this node_modules because it's one of workspaces
|
||||||
policy: pull
|
policy: pull
|
||||||
|
|
||||||
.yarnE2ECache:
|
.yarnE2ECache:
|
||||||
@ -64,7 +65,7 @@ Yarn:
|
|||||||
variables:
|
variables:
|
||||||
CYPRESS_INSTALL_BINARY: 0 # Don't install binary to increase caching performance between jobs
|
CYPRESS_INSTALL_BINARY: 0 # Don't install binary to increase caching performance between jobs
|
||||||
script:
|
script:
|
||||||
- yarn install --frozen-lockfile --cache-folder ~/.cache/yarn
|
- yarn install --frozen-lockfile
|
||||||
|
|
||||||
Yarn E2E:
|
Yarn E2E:
|
||||||
stage: prepare
|
stage: prepare
|
||||||
@ -74,7 +75,7 @@ Yarn E2E:
|
|||||||
cache:
|
cache:
|
||||||
policy: pull-push
|
policy: pull-push
|
||||||
script:
|
script:
|
||||||
- yarn install --frozen-lockfile --cache-folder ~/.cache/yarn
|
- yarn install --frozen-lockfile
|
||||||
only:
|
only:
|
||||||
refs:
|
refs:
|
||||||
- master
|
- master
|
||||||
|
Loading…
Reference in New Issue
Block a user