From 3dac48fd538c207ce1a9c12f7b56a454ee0b8be4 Mon Sep 17 00:00:00 2001 From: acoates-ms <30809111+acoates-ms@users.noreply.github.com> Date: Wed, 5 Jun 2019 10:51:37 -0700 Subject: [PATCH] move UWP PRs to hosted machines (#2562) * try to move PRs to hosted machines * hosted machine already has yarn * fix path --- .ado/windows-vs-pr.yml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/.ado/windows-vs-pr.yml b/.ado/windows-vs-pr.yml index cf0b22675e8..0416585785d 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: @@ -41,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: templates/stop-packagers.yml + + - task: CmdLine@2 + displayName: yarn build + inputs: + script: yarn build + workingDirectory: vnext - task: NuGetCommand@2 displayName: NuGet restore - ReactWindows-UWP