Add markdown formatting and link checking workflow

This commit is contained in:
D-McAdams 2025-10-14 15:38:18 -07:00
commit cad3428d11

33
.github/workflows/markdown-format.yml vendored Normal file
View file

@ -0,0 +1,33 @@
name: Markdown Format Check
on:
push:
branches:
- main
paths:
- '**/*.md'
- '**/*.mdx'
pull_request:
paths:
- '**/*.md'
- '**/*.mdx'
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: npm ci
- name: Check markdown formatting
run: npm run check:docs:format
- name: Check markdown links
run: npm run check:docs:links