From 62e8d22f660675642ab67b20d07efda9ac29e434 Mon Sep 17 00:00:00 2001 From: dkanada Date: Tue, 17 Mar 2020 00:43:13 +0900 Subject: [PATCH] check cache before installing dependencies --- .ci/azure-pipelines.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.ci/azure-pipelines.yml b/.ci/azure-pipelines.yml index f5515e8f69..bb11c83e83 100644 --- a/.ci/azure-pipelines.yml +++ b/.ci/azure-pipelines.yml @@ -35,15 +35,15 @@ jobs: inputs: versionSpec: '10.x' - - script: 'yarn install' - displayName: 'Install Dependencies' - - task: Cache@2 - displayName: 'Cache Dependencies' + displayName: 'Check Cache' inputs: key: 'yarn | yarn.lock' path: '$(Pipeline.Workspace)/node_modules' + - script: 'yarn install' + displayName: 'Install Dependencies' + - script: 'yarn build' displayName: 'Build Development' condition: eq(variables['BuildConfiguration'], 'development')