mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-02-19 19:48:07 +01:00
28 lines
484 B
YAML
28 lines
484 B
YAML
# Azure DevOps Pipeline for Node.js
|
|
# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript
|
|
|
|
trigger:
|
|
- master
|
|
|
|
pool:
|
|
vmImage: 'ubuntu-latest'
|
|
|
|
strategy:
|
|
matrix:
|
|
node_8_x:
|
|
node_version: 8.x
|
|
node_10_x:
|
|
node_version: 10.x
|
|
node_12_x:
|
|
node_version: 12.x
|
|
|
|
steps:
|
|
- task: NodeTool@0
|
|
inputs:
|
|
versionSpec: $(node_version)
|
|
displayName: 'Install Node.js'
|
|
|
|
- script: |
|
|
npm install
|
|
npm test
|
|
displayName: 'npm install and test'
|