From ef46397c7c5697b81199f70974775985ca64e3e5 Mon Sep 17 00:00:00 2001 From: yazninja <71800112+yazninja@users.noreply.github.com> Date: Wed, 10 May 2023 20:58:55 +0300 Subject: [PATCH] dont cache yarn --- azure-pipelines.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 34d33701..2f6028e3 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -31,12 +31,12 @@ jobs: versionSource: "fromFile" versionFilePath: ".nvmrc" - - ${{ if ne(variables['Build.Reason'], 'PullRequest') }}: - - task: Cache@2 - inputs: - key: 'yarn | "$(Agent.OS)" | yarn.lock' - path: $(YARN_CACHE_FOLDER) - displayName: Cache yarn + # - ${{ if ne(variables['Build.Reason'], 'PullRequest') }}: + # - task: Cache@2 + # inputs: + # key: 'yarn | "$(Agent.OS)" | yarn.lock' + # path: $(YARN_CACHE_FOLDER) + # displayName: Cache yarn - script: | yarn set version from sources @@ -86,12 +86,12 @@ jobs: versionSource: "fromFile" versionFilePath: ".nvmrc" - - ${{ if ne(variables['Build.Reason'], 'PullRequest') }}: - - task: Cache@2 - inputs: - key: 'yarn | "$(Agent.OS)" | yarn.lock' - path: $(YARN_CACHE_FOLDER) - displayName: Cache yarn + # - ${{ if ne(variables['Build.Reason'], 'PullRequest') }}: + # - task: Cache@2 + # inputs: + # key: 'yarn | "$(Agent.OS)" | yarn.lock' + # path: $(YARN_CACHE_FOLDER) + # displayName: Cache yarn - script: | yarn set version from sources