We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2e4d50 commit 061aaa7Copy full SHA for 061aaa7
azure-pipelines.yml
@@ -93,12 +93,11 @@ stages:
93
nugetConfigPath: src/nuget.config
94
workingDirectory: src
95
96
- - task: YarnInstaller@3
97
- displayName: 'Use Yarn 1.x'
98
- - task: Yarn@3
99
- displayName: 'Yarn install'
100
- inputs:
101
- projectDirectory: 'src/nerdbank-gitversioning.npm'
+ - script: npm i -g yarn@">=1.22 <2.0"
+ displayName: Installing yarn
+
+ - script: yarn --cwd src/nerdbank-gitversioning.npm
+ displayName: Installing NPM packages
102
103
- script: dotnet build -c $(BuildConfiguration) --no-restore /t:build,pack /bl:"$(Build.ArtifactStagingDirectory)/build_logs/msbuild.binlog"
104
displayName: Build NuGet package and tests
0 commit comments