Skip to content

Commit f0595ed

Browse files
authored
chore: add azure jobs
1 parent 4693079 commit f0595ed

File tree

1 file changed

+17
-11
lines changed

1 file changed

+17
-11
lines changed

azure-pipelines.yml

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,22 @@
33
# Add steps that analyze code, save build artifacts, deploy, and more:
44
# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript
55

6-
pool:
7-
vmImage: 'Ubuntu 16.04'
6+
jobs:
7+
- template: jobs/build.yml # Template reference
8+
parameters:
9+
name: macOS
10+
pool:
11+
vmImage: 'macOS-10.13'
812

9-
steps:
10-
- task: NodeTool@0
11-
inputs:
12-
versionSpec: '8.x'
13-
displayName: 'Install Node.js'
13+
- template: jobs/build.yml # Template reference
14+
parameters:
15+
name: Linux
16+
pool:
17+
vmImage: 'Ubuntu-16.04'
1418

15-
- script: |
16-
npm install
17-
npm run build
18-
displayName: 'npm install and build'
19+
- template: jobs/build.yml # Template reference
20+
parameters:
21+
name: Windows
22+
pool:
23+
vmImage: 'vs2017-win2016'
24+
sign: true # Extra step on Windows only

0 commit comments

Comments
 (0)