apisix/.github/workflows/doc-lint.yml
2021-10-27 08:57:33 +08:00

25 lines
518 B
YAML

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