Skip to content

Commit bead5ef

Browse files
committed
chore(lint-md): update lint-md configuration
- Update lint-md configuration to use the latest version of lint-md-cli. - Add lint-md command to the workflow to lint markdown files. - Remove the lint-md-github-action step from the workflow.
1 parent b6ede55 commit bead5ef

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/lint-md.yml

+8-6
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ jobs:
99
- name: Checkout
1010
uses: actions/checkout@v4
1111

12-
- name: lint-md-github-action
13-
uses: lint-md/[email protected]
14-
with:
15-
configFile: .lintmdrc
16-
failOnWarnings: false
17-
files: ./ ./.github/ ./docs/
12+
- name: Set node version
13+
uses: actions/setup-node@v4
14+
15+
- name: Install lint-md
16+
run: npm install -g @lint-md/cli
17+
18+
- name: Lint markdown
19+
run: lint-md --config .lintmdrc ./*.md ./.github/ ./docs/

0 commit comments

Comments
 (0)