# 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'

strategy:
  matrix:
    node6:
      containerImage: node:6
    node8:
      containerImage: node:8
    node10:
      containerImage: node:10
    nodeLatest:
      containerImage: node:latest

container: $[ variables['containerImage'] ]

steps:
- script: |
    npm install
    npm test
  displayName: 'test'

Set up CI with Azure Pipelines
Set up CI with Azure Pipelines