Files
benramey.com-gatsby.js/azure-pipelines.yml
Ben Ramey 8ff0375bfd Set up CI with Azure Pipelines
[skip ci]
2020-10-03 02:40:21 +00:00

22 lines
431 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:
- master
pool:
vmImage: 'ubuntu-latest'
steps:
- task: NodeTool@0
inputs:
versionSpec: '10.x'
displayName: 'Install Node.js'
- script: |
npm install
npm run build
displayName: 'npm install and build'