From a40bf9a18eedf646dcd3fe238d1adbe21fb80965 Mon Sep 17 00:00:00 2001 From: Mathis HERRIOT <197931332+0x485254@users.noreply.github.com> Date: Mon, 5 Jan 2026 00:32:28 +0100 Subject: [PATCH] Add workflow for linting documentation on changes or PRs --- .gitea/workflows/lint-documentation.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .gitea/workflows/lint-documentation.yml diff --git a/.gitea/workflows/lint-documentation.yml b/.gitea/workflows/lint-documentation.yml new file mode 100644 index 0000000..1e8133b --- /dev/null +++ b/.gitea/workflows/lint-documentation.yml @@ -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