Skip to content

Commit

Permalink
ci: use fixed version of markdownlint-cli (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
Selflocking authored Nov 28, 2023
1 parent 7ca432c commit c92627e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/markdownlint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Markdown Lint

on:
workflow_dispatch:
pull_request:
paths:
- 'docs/**'
Expand All @@ -14,12 +15,12 @@ jobs:
uses: actions/checkout@v3

- name: Use Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: '18.x'

- name: Install markdownlint
run: npm install -g markdownlint-cli
run: npm install -g markdownlint-cli@0.35.0

- name: Run markdownlint
run: markdownlint 'docs/**/*.{md,mdx}' --config .markdownlint.jsonc

0 comments on commit c92627e

Please sign in to comment.