Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
chore: add azure jobs
  • Loading branch information
jimthedev committed Sep 23, 2018
1 parent 4693079 commit f0595ed
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions azure-pipelines.yml
Expand Up @@ -3,16 +3,22 @@
# Add steps that analyze code, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript

pool:
vmImage: 'Ubuntu 16.04'
jobs:
- template: jobs/build.yml # Template reference
parameters:
name: macOS
pool:
vmImage: 'macOS-10.13'

steps:
- task: NodeTool@0
inputs:
versionSpec: '8.x'
displayName: 'Install Node.js'
- template: jobs/build.yml # Template reference
parameters:
name: Linux
pool:
vmImage: 'Ubuntu-16.04'

- script: |
npm install
npm run build
displayName: 'npm install and build'
- template: jobs/build.yml # Template reference
parameters:
name: Windows
pool:
vmImage: 'vs2017-win2016'
sign: true # Extra step on Windows only

0 comments on commit f0595ed

Please sign in to comment.