diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 1d6f6346..cf2041b1 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -38,6 +38,10 @@ jobs: path: $(YARN_CONFIG_CACHE) displayName: Cache yarn + - script: | + yarn set version from sources + displayName: "Setup yarn" + # Install dependencies (immutable for non-PR builds) - ${{ if ne(variables['Build.Reason'], 'PullRequest') }}: - script: yarn install --immutable-cache @@ -88,6 +92,10 @@ jobs: path: $(YARN_CONFIG_CACHE) displayName: Cache yarn + - script: | + yarn set version from sources + displayName: "Setup yarn" + # Install dependencies (immutable for non-PR builds) - ${{ if ne(variables['Build.Reason'], 'PullRequest') }}: - script: yarn install --immutable