discourse/.github/workflows/developer-docs-lint.yml
dependabot[bot] cbb5748c4f
DEPS: Bump pnpm/action-setup from 4 to 5 (#38680)
Bumps [pnpm/action-setup](https://github.com/pnpm/action-setup) from 4
to 5.
- [Release notes](https://github.com/pnpm/action-setup/releases)
- [Commits](https://github.com/pnpm/action-setup/compare/v4...v5)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-18 09:58:19 +01:00

47 lines
1 KiB
YAML
Vendored

name: Developer Docs Lint
on:
pull_request:
paths:
- "docs/developer-guides/**"
- ".github/workflows/developer-docs-lint.yml"
push:
branches:
- main
paths:
- "docs/developer-guides/**"
- ".github/workflows/developer-docs-lint.yml"
concurrency:
group: developer-docs-lint-${{ format('{0}-{1}', github.head_ref || github.run_number, github.job) }}
cancel-in-progress: true
permissions:
contents: read
jobs:
prettier:
if: github.event_name == 'pull_request' || github.repository != 'discourse/discourse-private-mirror'
runs-on: ubuntu-latest
timeout-minutes: 5
defaults:
run:
working-directory: docs/developer-guides
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 1
- uses: pnpm/action-setup@v5
- uses: actions/setup-node@v6
with:
node-version: 24
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Lint
run: pnpm lint