Add workflow for linting documentation on changes or PRs
Some checks failed
Documentation Lint / lint (push) Failing after 3s
Some checks failed
Documentation Lint / lint (push) Failing after 3s
This commit is contained in:
25
.gitea/workflows/lint-documentation.yml
Normal file
25
.gitea/workflows/lint-documentation.yml
Normal 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
|
||||
Reference in New Issue
Block a user