From fa5e1feaab8c8a2665af1680c359cfff34146f49 Mon Sep 17 00:00:00 2001 From: dkanada Date: Tue, 17 Mar 2020 01:49:43 +0900 Subject: [PATCH] skip dependency step when cache exists --- .ci/azure-pipelines.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.ci/azure-pipelines.yml b/.ci/azure-pipelines.yml index bbac82efe6..6f3e2f98ed 100644 --- a/.ci/azure-pipelines.yml +++ b/.ci/azure-pipelines.yml @@ -40,9 +40,11 @@ jobs: inputs: key: 'yarn | yarn.lock' path: 'node_modules' + cacheHitVar: CACHE_RESTORED - script: 'yarn install --pure-lockfile' displayName: 'Install Dependencies' + condition: ne(variables.CACHE_RESTORED, 'true') - script: 'yarn build:development' displayName: 'Build Development'