tabby/azure-pipelines.yml
2019-06-24 15:59:05 +02:00

38 lines
674 B
YAML

trigger:
- master
variables:
- group: Vars
pool:
vmImage: 'vs2017-win2016'
steps:
- task: NodeTool@0
inputs:
versionSpec: '10.x'
displayName: 'Install Node.js'
- script: yarn
displayName: 'Install dependencies'
- script: node scripts/build-native.js
displayName: 'Rebuild native dependencies'
- script: yarn run build:typings
displayName: 'Build typings'
- script: yarn run build
displayName: 'Build'
- script: node scripts/prepackage-plugins.js
displayName: 'Prepackage plugins'
- script: node scripts/build-windows.js
displayName: 'Package'
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: 'dist\\*.exe'
artifactName: build