apisix/.github/workflows/doc-lint.yml
罗泽轩 28ebf3e512
ci: split linter (#4205)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-05-10 08:41:49 +08:00

21 lines
411 B
YAML

name: Doc Lint
on:
pull_request:
branches: [master]
paths:
- '**/*.md'
jobs:
markdownlint:
name: 🍇 Markdown
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: 🚀 Use Node.js
uses: actions/setup-node@v2.1.5
with:
node-version: '12.x'
- run: npm install -g markdownlint-cli@0.25.0
- run: markdownlint '**/*.md'