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 1
1
version : ' {build}'
2
2
os : Visual Studio 2017
3
3
install :
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
7
7
build :
8
- project : build.proj
9
- verbosity : normal
8
+ project : build.proj
9
+ verbosity : normal
10
10
test_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
12
12
artifacts :
13
- - path : output\*.nupkg
13
+ - path : output\*.nupkg
Original file line number Diff line number Diff line change 1
1
trigger :
2
- - master
2
+ - master
3
3
4
4
pool :
5
- vmImage : ' VS2017-Win2016'
5
+ vmImage : ' VS2017-Win2016'
6
6
7
7
variables :
8
- buildPlatform : ' Any CPU'
9
- buildConfiguration : ' Release'
8
+ buildPlatform : ' Any CPU'
9
+ buildConfiguration : ' Release'
10
10
11
11
steps :
12
- - task : NodeTool@0
13
- inputs :
14
- versionSpec : ' 6 .x'
12
+ - task : NodeTool@0
13
+ inputs :
14
+ versionSpec : ' 10 .x'
15
15
16
- - script : npm install --global npm
16
+ - script : npm install --global npm
17
17
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)'
24
24
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)'
30
30
31
- - task : PublishBuildArtifacts@1
31
+ - task : PublishBuildArtifacts@1
You can’t perform that action at this time.
0 commit comments