Skip to content

Commit 939659e

Browse files
author
Danny McCormick
committed
Change node version used
1 parent 30e5738 commit 939659e

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

azure-pipelines-template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
steps:
22
- task: NodeTool@0
33
inputs:
4-
versionSpec: '8.9'
4+
versionSpec: '$(node_version)'
55
displayName: 'Install Node.js'
66

77
- script: npm install

azure-pipelines.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,21 @@ trigger:
44

55
jobs:
66

7-
# All tasks on Linux
7+
# All tasks on Windows
8+
- job: build_all_windows
9+
displayName: Build all tasks using node 8 (Windows)
10+
variables:
11+
node_version: '8.x'
12+
pool:
13+
vmImage: vs2017-win2016
14+
steps:
15+
- template: azure-pipelines-template.yml
16+
17+
# All tasks on Windows
818
- job: build_all_windows
919
displayName: Build all tasks (Windows)
20+
variables:
21+
node_version: '11.x'
1022
pool:
1123
vmImage: vs2017-win2016
1224
steps:
@@ -15,6 +27,8 @@ jobs:
1527
# All tasks on Linux
1628
- job: build_all_linux
1729
displayName: Build all tasks (Linux)
30+
variables:
31+
node_version: '11.x'
1832
pool:
1933
vmImage: 'Ubuntu 16.04'
2034
steps:
@@ -23,6 +37,8 @@ jobs:
2337
# All tasks on macOS
2438
- job: build_all_darwin
2539
displayName: Build all tasks (macOS)
40+
variables:
41+
node_version: '11.x'
2642
pool:
2743
vmImage: macos-10.13
2844
steps:

0 commit comments

Comments
 (0)