From 22e1a9b269151b1700b44577089123becccd7982 Mon Sep 17 00:00:00 2001 From: MrTimscampi Date: Thu, 7 May 2020 17:08:21 +0200 Subject: [PATCH] Re-enable cache on CI --- .ci/azure-pipelines.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.ci/azure-pipelines.yml b/.ci/azure-pipelines.yml index 3fe0099ca2..31f00754f5 100644 --- a/.ci/azure-pipelines.yml +++ b/.ci/azure-pipelines.yml @@ -33,16 +33,16 @@ jobs: inputs: versionSpec: '12.x' - #- task: Cache@2 - # displayName: 'Check Cache' - # inputs: - # key: 'yarn | yarn.lock' - # path: 'node_modules' - # cacheHitVar: CACHE_RESTORED + - task: Cache@2 + displayName: 'Check Cache' + inputs: + key: 'yarn | yarn.lock' + path: 'node_modules' + cacheHitVar: CACHE_RESTORED - script: 'yarn install --frozen-lockfile' displayName: 'Install Dependencies' - # condition: ne(variables.CACHE_RESTORED, 'true') + condition: ne(variables.CACHE_RESTORED, 'true') - script: 'yarn build:development' displayName: 'Build Development' @@ -87,16 +87,16 @@ jobs: inputs: versionSpec: '12.x' - #- task: Cache@2 - # displayName: 'Check Cache' - # inputs: - # key: 'yarn | yarn.lock' - # path: 'node_modules' - # cacheHitVar: CACHE_RESTORED + - task: Cache@2 + displayName: 'Check Cache' + inputs: + key: 'yarn | yarn.lock' + path: 'node_modules' + cacheHitVar: CACHE_RESTORED - script: 'yarn install --frozen-lockfile' displayName: 'Install Dependencies' - # condition: ne(variables.CACHE_RESTORED, 'true') + condition: ne(variables.CACHE_RESTORED, 'true') - script: 'yarn run lint --quiet' displayName: 'Run ESLint'