mirror of
https://gitee.com/iresty/apisix.git
synced 2024-12-15 09:21:26 +08:00
3bb3422852
- add a Markdownlint config file - lint Markdownlint for MD039 - Spaces inside link text https://www.npmjs.com/package/markdownlint-cli
17 lines
379 B
YAML
17 lines
379 B
YAML
name: ❄️ Lint
|
|
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
markdownlint:
|
|
name: 🍇 Markdown
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: 🚀 Use Node.js
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: '12.x'
|
|
- run: npm install -g markdownlint-cli@0.25.0
|
|
- run: markdownlint '**/*.md' --ignore node_modules
|