diff --git a/.github/workflows/markdown-format.yml b/.github/workflows/markdown-format.yml new file mode 100644 index 0000000..2278d60 --- /dev/null +++ b/.github/workflows/markdown-format.yml @@ -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 \ No newline at end of file