apisix/.github/workflows/doc-lint.yml
dependabot[bot] 95ac6fa143
chore(deps): bump actions/setup-node from 2.1.5 to 2.2.0 (#4511)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.1.5 to 2.2.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.1.5...v2.2.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-01 16:54:15 +08:00

24 lines
495 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.3.4
- name: 🚀 Use Node.js
uses: actions/setup-node@v2.2.0
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