Skip to content

Commit

Permalink
chore(lint-md): update lint-md configuration and workflow
Browse files Browse the repository at this point in the history
- Update lint-md configuration and workflow
- Set node version using actions/setup-node
- Install lint-md using npm
- Lint markdown files using lint-md command
  • Loading branch information
guanguans committed Jan 29, 2024
1 parent 56fea1d commit d008fb8
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/lint-md.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: lint-md-github-action
uses: lint-md/[email protected]
with:
configFile: .lintmdrc
failOnWarnings: false
files: ./ ./.github/ ./docs/
- name: Set node version
uses: actions/setup-node@v4

- name: Install lint-md
run: npm install -g @lint-md/cli

- name: Lint markdown
run: lint-md --config .lintmdrc ./*.md ./.github/ ./docs/

0 comments on commit d008fb8

Please sign in to comment.