Skip to content

Commit

Permalink
chore(lint-md): update lint-md configuration
Browse files Browse the repository at this point in the history
- Update lint-md configuration to use the latest version
- Set node version using actions/setup-node
- Install lint-md globally using npm
- Add lint-md command to lint markdown files
  • Loading branch information
guanguans committed Jan 17, 2024
1 parent b816730 commit e2dac64
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@v3

- 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 e2dac64

Please sign in to comment.