Add workflow for linting documentation on changes or PRs
Some checks failed
Documentation Lint / lint (push) Failing after 3s

This commit is contained in:
Mathis HERRIOT
2026-01-05 00:32:28 +01:00
parent fd0b82ab99
commit a40bf9a18e

View File

@@ -0,0 +1,25 @@
name: Documentation Lint
on:
push:
paths:
- 'documentation/**'
pull_request:
paths:
- 'documentation/**'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Run lint
run: pnpm -F @memegoat/documentation lint