2019-01-28 23:49:39 +01:00
|
|
|
# Node.js
|
|
|
|
# Build a general Node.js project with npm.
|
|
|
|
# Add steps that analyze code, save build artifacts, deploy, and more:
|
|
|
|
# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
- release
|
|
|
|
|
|
|
|
pool:
|
|
|
|
vmImage: 'vs2017-win2016'
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- task: NodeTool@0
|
|
|
|
inputs:
|
2019-03-20 20:56:33 +01:00
|
|
|
versionSpec: '10.x'
|
2019-01-28 23:49:39 +01:00
|
|
|
displayName: 'Install Node.js'
|
|
|
|
|
|
|
|
- script: |
|
|
|
|
yarn install
|
|
|
|
yarn build --publish onTag
|
|
|
|
displayName: 'yarn install and build'
|