2024-01-11 18:10:49 +03:00
|
|
|
parameters:
|
|
|
|
vmImage: ''
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
- job: markdown_lint
|
|
|
|
displayName: 'Markdown Linting Validation'
|
|
|
|
|
|
|
|
pool:
|
|
|
|
vmImage: ${{ parameters.vmImage }}
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- checkout: self
|
|
|
|
fetchDepth: 1
|
|
|
|
clean: true
|
|
|
|
|
|
|
|
- task: NodeTool@0
|
|
|
|
inputs:
|
|
|
|
versionSpec: '18.x'
|
|
|
|
|
2024-01-11 22:54:37 +03:00
|
|
|
# Keep that version in sync with documentation at doc/README.md
|
2024-01-11 22:49:50 +03:00
|
|
|
- bash: npm install -g markdownlint-cli@0.38.0
|
2024-01-11 18:10:49 +03:00
|
|
|
displayName: Install markdownlint-cli
|
|
|
|
|
2024-06-14 19:19:29 +03:00
|
|
|
- bash: markdownlint -c $(Build.SourcesDirectory)/build/.markdownlint.json "doc/**/*.md"
|
2024-01-11 18:28:47 +03:00
|
|
|
displayName: Run Markdown Linter
|