Set up CI with Azure Pipelines
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
parent
6f4d3c4327
commit
b7fff695a2
1 changed files with 33 additions and 0 deletions
33
azure-pipelines.yml
Normal file
33
azure-pipelines.yml
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
trigger:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
- job: linux
|
||||||
|
displayName: Linux
|
||||||
|
pool: Hosted Ubuntu 1604
|
||||||
|
steps:
|
||||||
|
- task: NodeTool@0
|
||||||
|
inputs:
|
||||||
|
versionSpec: '10.x'
|
||||||
|
displayName: 'Install Node.js'
|
||||||
|
- script: |
|
||||||
|
npm install
|
||||||
|
displayName: 'npm install'
|
||||||
|
- script: |
|
||||||
|
npm run build
|
||||||
|
displayName: 'npm run build'
|
||||||
|
|
||||||
|
- job: windows
|
||||||
|
displayName: Windows
|
||||||
|
pool: Hosted
|
||||||
|
steps:
|
||||||
|
- task: NodeTool@0
|
||||||
|
inputs:
|
||||||
|
versionSpec: '10.x'
|
||||||
|
displayName: 'Install Node.js'
|
||||||
|
- script: |
|
||||||
|
npm install
|
||||||
|
displayName: 'npm install'
|
||||||
|
- script: |
|
||||||
|
npm run build
|
||||||
|
displayName: 'npm run build'
|
Loading…
Add table
Reference in a new issue