Add yarn cache to drone #312
|
@ -26,14 +26,14 @@ steps:
|
||||||
region: fr-par
|
region: fr-par
|
||||||
path_style: true
|
path_style: true
|
||||||
mount:
|
mount:
|
||||||
- '/cache'
|
- '.cache'
|
||||||
|
|
||||||
- name: dependencies
|
- name: dependencies
|
||||||
image: node:13
|
image: node:13
|
||||||
pull: true
|
pull: true
|
||||||
group: build-static
|
group: build-static
|
||||||
environment:
|
environment:
|
||||||
YARN_CACHE_FOLDER: /cache
|
YARN_CACHE_FOLDER: .cache
|
||||||
commands:
|
commands:
|
||||||
- yarn --frozen-lockfile --network-timeout 100000
|
- yarn --frozen-lockfile --network-timeout 100000
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -54,7 +54,7 @@ steps:
|
||||||
region: fr-par
|
region: fr-par
|
||||||
path_style: true
|
path_style: true
|
||||||
mount:
|
mount:
|
||||||
- '/cache'
|
- '.cache'
|
||||||
depends_on:
|
depends_on:
|
||||||
- dependencies
|
- dependencies
|
||||||
|
|
||||||
|
@ -63,7 +63,7 @@ steps:
|
||||||
pull: true
|
pull: true
|
||||||
group: build-static
|
group: build-static
|
||||||
environment:
|
environment:
|
||||||
YARN_CACHE_FOLDER: /cache
|
YARN_CACHE_FOLDER: .cache
|
||||||
commands:
|
commands:
|
||||||
- yarn run lint
|
- yarn run lint
|
||||||
- yarn run build
|
- yarn run build
|
||||||
|
|
Reference in New Issue
Block a user