mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-18 15:00:13 +01:00
Add Node version matrix to Azure DevOps Pipeline
This commit is contained in:
parent
0e8b40ad74
commit
ea57e59c51
1 changed files with 11 additions and 4 deletions
|
|
@ -1,6 +1,4 @@
|
||||||
# Node.js
|
# Azure DevOps Pipeline for 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
|
# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
|
|
@ -9,10 +7,19 @@ trigger:
|
||||||
pool:
|
pool:
|
||||||
vmImage: 'ubuntu-latest'
|
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:
|
steps:
|
||||||
- task: NodeTool@0
|
- task: NodeTool@0
|
||||||
inputs:
|
inputs:
|
||||||
versionSpec: '10.x'
|
versionSpec: $(node_version)
|
||||||
displayName: 'Install Node.js'
|
displayName: 'Install Node.js'
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue