Skip to content

Commit cad3428

Browse files
committed
Add markdown formatting and link checking workflow
1 parent cd65771 commit cad3428

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Markdown Format Check
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- '**/*.md'
9+
- '**/*.mdx'
10+
pull_request:
11+
paths:
12+
- '**/*.md'
13+
- '**/*.mdx'
14+
15+
jobs:
16+
format:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v4
20+
21+
- name: Setup Node.js
22+
uses: actions/setup-node@v4
23+
with:
24+
node-version: '20'
25+
26+
- name: Install dependencies
27+
run: npm ci
28+
29+
- name: Check markdown formatting
30+
run: npm run check:docs:format
31+
32+
- name: Check markdown links
33+
run: npm run check:docs:links

0 commit comments

Comments
 (0)