Skip to content

Commit ce54097

Browse files
committed
ci(markdownlint): add Markdown linting checks (#516)
1 parent 22590a0 commit ce54097

6 files changed

Lines changed: 160 additions & 145 deletions

File tree

.github/workflows/ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,20 @@ jobs:
121121
pip install flake8
122122
./run-tests.sh --lint-flake8
123123
124+
lint-markdownlint:
125+
runs-on: ubuntu-24.04
126+
steps:
127+
- name: Checkout
128+
uses: actions/checkout@v4
129+
130+
- name: Setup Node
131+
uses: actions/setup-node@v4
132+
133+
- name: Lint Markdown files
134+
run: |
135+
npm install markdownlint-cli2 --global
136+
./run-tests.sh --lint-markdownlint
137+
124138
lint-manifest:
125139
runs-on: ubuntu-24.04
126140
steps:

.markdownlint.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Allow prompt dollar sign in console examples without showing output
2+
MD014: false

0 commit comments

Comments
 (0)