pls work
This commit is contained in:
parent
104f537f0a
commit
63bfbf3631
1 changed files with 4 additions and 5 deletions
|
@ -10,7 +10,6 @@ trigger:
|
||||||
include:
|
include:
|
||||||
- src/**/*
|
- src/**/*
|
||||||
- azure-pipelines.yml
|
- azure-pipelines.yml
|
||||||
- .yarnrc.yml
|
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
COMMIT_URL: "$(Build.Repository.Uri)/commit/$(Build.SourceVersion)"
|
COMMIT_URL: "$(Build.Repository.Uri)/commit/$(Build.SourceVersion)"
|
||||||
|
@ -39,14 +38,14 @@ jobs:
|
||||||
key: 'yarn | "$(Agent.OS)" | yarn.lock'
|
key: 'yarn | "$(Agent.OS)" | yarn.lock'
|
||||||
path: $(YARN_CACHE_FOLDER)
|
path: $(YARN_CACHE_FOLDER)
|
||||||
displayName: Cache yarn
|
displayName: Cache yarn
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
yarn set version from sources
|
yarn set version from sources
|
||||||
displayName: "Setup yarn"
|
displayName: "Setup yarn"
|
||||||
|
|
||||||
# Install dependencies (immutable for non-PR builds)
|
# Install dependencies (immutable for non-PR builds)
|
||||||
- ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
|
- ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
|
||||||
- script: yarn install --immutable-cache
|
- script: yarn install
|
||||||
displayName: "Install Dependencies"
|
displayName: "Install Dependencies"
|
||||||
- ${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
|
- ${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
|
||||||
- script: yarn install
|
- script: yarn install
|
||||||
|
@ -100,7 +99,7 @@ jobs:
|
||||||
|
|
||||||
# Install dependencies (immutable for non-PR builds)
|
# Install dependencies (immutable for non-PR builds)
|
||||||
- ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
|
- ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
|
||||||
- script: yarn install --immutable
|
- script: yarn install
|
||||||
displayName: "Install Dependencies"
|
displayName: "Install Dependencies"
|
||||||
- ${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
|
- ${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
|
||||||
- script: yarn install
|
- script: yarn install
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue