Add yarn cache to drone #312

Merged
konrad merged 8 commits from feature/yarn-cache into master 2020-12-06 17:45:45 +00:00
1 changed files with 4 additions and 4 deletions
Showing only changes of commit a36d97ad18 - Show all commits

View File

@ -26,14 +26,14 @@ steps:
region: fr-par
path_style: true
mount:
- '/cache'
- '.cache'
- name: dependencies
image: node:13
pull: true
group: build-static
environment:
YARN_CACHE_FOLDER: /cache
YARN_CACHE_FOLDER: .cache
commands:
- yarn --frozen-lockfile --network-timeout 100000
depends_on:
@ -54,7 +54,7 @@ steps:
region: fr-par
path_style: true
mount:
- '/cache'
- '.cache'
depends_on:
- dependencies
@ -63,7 +63,7 @@ steps:
pull: true
group: build-static
environment:
YARN_CACHE_FOLDER: /cache
YARN_CACHE_FOLDER: .cache
commands:
- yarn run lint
- yarn run build