Use markdownlint-cli

This commit is contained in:
Lunny Xiao 2023-04-14 14:10:14 +08:00
parent 77019d28e2
commit 129b9b2974
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A
1 changed files with 3 additions and 4 deletions

View File

@ -8,8 +8,7 @@ jobs:
name: lint
runs-on: ubuntu-latest
steps:
- name: install markdown-cli
run: npm install -g markdownlint-cli
- name: lint
uses: https://github.com/articulate/actions-markdownlint@v1
with:
config: .markdownlint.yaml
files: '**/*.md'
run: markdownlint -c .markdownlint.yaml '**/*.md'