azure-pipelines.yml
457 Bytes
# Node.js
# Build a general Node.js application with npm.
# Add steps that analyze code, save build artifacts, deploy, and more:
# https://docs.microsoft.com/vsts/pipelines/languages/javascript
pool:
vmImage: 'Ubuntu 16.04'
trigger:
- master
- features/*
- azure-pipelines
steps:
- task: NodeTool@0
inputs:
versionSpec: '10.x'
displayName: 'Install Node.js'
- script: |
npm install
# npm run build
displayName: 'npm install and build'