Only start installing dependencies once cache has been restored

This commit is contained in:
kolaente 2020-12-06 16:56:37 +01:00
parent 72ae0b7e5e
commit 795b08e8ab
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,8 @@ steps:
YARN_CACHE_FOLDER: /cache
commands:
- yarn --frozen-lockfile --network-timeout 100000
depends_on:
- restore-cache
- name: rebuild-cache
image: meltwater/drone-cache:dev