mirror of
https://github.com/Eugeny/tabby
synced 2024-11-16 01:38:07 +00:00
37 lines
674 B
YAML
37 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
|