File tree Expand file tree Collapse file tree 2 files changed +27
-27
lines changed Expand file tree Collapse file tree 2 files changed +27
-27
lines changed Original file line number Diff line number Diff line change 11version : ' {build}'
22os : Visual Studio 2017
33install :
4- - set PATH=%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\;%PATH%
5- - ps : Install-Product node 6
6- - npm install --global npm
4+ - set PATH=%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\;%PATH%
5+ - ps : Install-Product node 10
6+ - npm install --global npm
77build :
8- project : build.proj
9- verbosity : normal
8+ project : build.proj
9+ verbosity : normal
1010test_script :
11- - dotnet test --configuration Release --no-build tests/React.Tests/React.Tests.csproj
11+ - dotnet test --configuration Release --no-build tests/React.Tests/React.Tests.csproj
1212artifacts :
13- - path : output\*.nupkg
13+ - path : output\*.nupkg
Original file line number Diff line number Diff line change 11trigger :
2- - master
2+ - master
33
44pool :
5- vmImage : ' VS2017-Win2016'
5+ vmImage : ' VS2017-Win2016'
66
77variables :
8- buildPlatform : ' Any CPU'
9- buildConfiguration : ' Release'
8+ buildPlatform : ' Any CPU'
9+ buildConfiguration : ' Release'
1010
1111steps :
12- - task : NodeTool@0
13- inputs :
14- versionSpec : ' 6 .x'
12+ - task : NodeTool@0
13+ inputs :
14+ versionSpec : ' 10 .x'
1515
16- - script : npm install --global npm
16+ - script : npm install --global npm
1717
18- - task : VSBuild@1
19- inputs :
20- solution : ' build.proj'
21- msbuildArgs : ' /p:PackageOutputDir="$(build.artifactStagingDirectory)"'
22- platform : ' $(buildPlatform)'
23- configuration : ' $(buildConfiguration)'
18+ - task : VSBuild@1
19+ inputs :
20+ solution : ' build.proj'
21+ msbuildArgs : ' /p:PackageOutputDir="$(build.artifactStagingDirectory)"'
22+ platform : ' $(buildPlatform)'
23+ configuration : ' $(buildConfiguration)'
2424
25- - task : DotNetCoreCLI@2
26- inputs :
27- command : ' test'
28- projects : ' tests/React.Tests/React.Tests.csproj'
29- arguments : ' --no-build --configuration $(buildConfiguration)'
25+ - task : DotNetCoreCLI@2
26+ inputs :
27+ command : ' test'
28+ projects : ' tests/React.Tests/React.Tests.csproj'
29+ arguments : ' --no-build --configuration $(buildConfiguration)'
3030
31- - task : PublishBuildArtifacts@1
31+ - task : PublishBuildArtifacts@1
You can’t perform that action at this time.
0 commit comments