2019-06-24 15:23:23 +03:00
|
|
|
trigger:
|
|
|
|
- master
|
|
|
|
|
2019-06-24 15:33:59 +03:00
|
|
|
variables:
|
|
|
|
- group: Vars
|
|
|
|
|
2019-06-24 15:23:23 +03:00
|
|
|
pool:
|
2019-06-24 15:46:45 +03:00
|
|
|
vmImage: 'vs2017-win2016'
|
2019-06-24 15:23:23 +03:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- task: NodeTool@0
|
|
|
|
inputs:
|
|
|
|
versionSpec: '12.x'
|
|
|
|
displayName: 'Install Node.js'
|
|
|
|
|
|
|
|
- script: |
|
|
|
|
yarn
|
|
|
|
node scripts/build-native.js
|
|
|
|
yarn run build:typings
|
|
|
|
yarn run build
|
|
|
|
node scripts/prepackage-plugins.js
|
|
|
|
node scripts/build-windows.js
|
|
|
|
displayName: 'npm install and build'
|
|
|
|
|
|
|
|
- task: PublishBuildArtifacts@1
|
|
|
|
inputs:
|
|
|
|
pathtoPublish: 'dist\\*.exe'
|
|
|
|
artifactName: build
|