Skip to content

Instantly share code, notes, and snippets.

@sanudatta11
Created January 24, 2019 07:47
Show Gist options
  • Save sanudatta11/c594d0aaf6ef6453b650ca3c3ca7cde2 to your computer and use it in GitHub Desktop.
Save sanudatta11/c594d0aaf6ef6453b650ca3c3ca7cde2 to your computer and use it in GitHub Desktop.
# 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:
- master
pool:
vmImage: 'Ubuntu-16.04'
steps:
- task: NodeTool@0
inputs:
versionSpec: '8.x'
displayName: 'Install Node.js'
- script: |
npm install
displayName: 'npm install and npm start'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment