This commit is contained in:
yazninja 2023-05-10 18:36:38 +03:00
parent 104f537f0a
commit 63bfbf3631

View file

@ -10,7 +10,6 @@ trigger:
include:
- src/**/*
- azure-pipelines.yml
- .yarnrc.yml
variables:
COMMIT_URL: "$(Build.Repository.Uri)/commit/$(Build.SourceVersion)"
@ -46,7 +45,7 @@ jobs:
# Install dependencies (immutable for non-PR builds)
- ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
- script: yarn install --immutable-cache
- script: yarn install
displayName: "Install Dependencies"
- ${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
- script: yarn install
@ -100,7 +99,7 @@ jobs:
# Install dependencies (immutable for non-PR builds)
- ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
- script: yarn install --immutable
- script: yarn install
displayName: "Install Dependencies"
- ${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
- script: yarn install