From f070d621f5b26fc10ecf966180f836309bd7ca81 Mon Sep 17 00:00:00 2001 From: Andrew Coates <> Date: Wed, 5 Jun 2019 09:17:32 -0700 Subject: [PATCH 1/3] try to move PRs to hosted machines --- .ado/windows-vs-pr.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.ado/windows-vs-pr.yml b/.ado/windows-vs-pr.yml index cf0b22675e8..ed37ebbc15a 100644 --- a/.ado/windows-vs-pr.yml +++ b/.ado/windows-vs-pr.yml @@ -29,8 +29,7 @@ jobs: BuildConfiguration: Release BuildPlatform: arm pool: - name: OE Standard Pool - demands: ['VisualStudio_15.0', 'OnPrem -equals False'] + vmImage: vs2017-win2016 timeoutInMinutes: 120 # how long to run the job before automatically cancelling cancelTimeoutInMinutes: 5 # how much time to give 'run always even if cancelled tasks' before killing them steps: From f757a8d9a291cfb09f359400a50eff4cbf54eace Mon Sep 17 00:00:00 2001 From: Andrew Coates <> Date: Wed, 5 Jun 2019 09:23:42 -0700 Subject: [PATCH 2/3] hosted machine already has yarn --- .ado/windows-vs-pr.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.ado/windows-vs-pr.yml b/.ado/windows-vs-pr.yml index ed37ebbc15a..1440a6584e2 100644 --- a/.ado/windows-vs-pr.yml +++ b/.ado/windows-vs-pr.yml @@ -40,7 +40,19 @@ jobs: submodules: false # set to 'true' for a single level of submodules or 'recursive' to get submodules of submodules persistCredentials: false # set to 'true' to leave the OAuth token in the Git config after the initial fetch - - template: templates/npm-install-and-build.yml + - task: CmdLine@2 + displayName: yarn install + inputs: + script: yarn install --frozen-lockfile + workingDirectory: vnext + + - template: stop-packagers.yml + + - task: CmdLine@2 + displayName: yarn build + inputs: + script: yarn build + workingDirectory: vnext - task: NuGetCommand@2 displayName: NuGet restore - ReactWindows-UWP From 8a6f1aa51660e2256216dc9749e6d6160699af7b Mon Sep 17 00:00:00 2001 From: Andrew Coates <> Date: Wed, 5 Jun 2019 09:37:55 -0700 Subject: [PATCH 3/3] fix path --- .ado/windows-vs-pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ado/windows-vs-pr.yml b/.ado/windows-vs-pr.yml index 1440a6584e2..0416585785d 100644 --- a/.ado/windows-vs-pr.yml +++ b/.ado/windows-vs-pr.yml @@ -46,7 +46,7 @@ jobs: script: yarn install --frozen-lockfile workingDirectory: vnext - - template: stop-packagers.yml + - template: templates/stop-packagers.yml - task: CmdLine@2 displayName: yarn build