Skip to content

Commit

Permalink
move UWP PRs to hosted machines (#2562)
Browse files Browse the repository at this point in the history
* try to move PRs to hosted machines

* hosted machine already has yarn

* fix path
  • Loading branch information
acoates-ms authored Jun 5, 2019
1 parent b4f5400 commit 3dac48f
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .ado/windows-vs-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 3dac48f

Please sign in to comment.