21 lines
447 B
YAML
21 lines
447 B
YAML
# 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:
|
|
versionSpec: '9.x'
|
|
displayName: 'Install Node.js'
|
|
|
|
- script: |
|
|
yarn install
|
|
yarn build --publish onTag
|
|
displayName: 'yarn install and build'
|