Skip to content

test(web): self-import ReactNode in three test files for tsconfig har… #51

test(web): self-import ReactNode in three test files for tsconfig har…

test(web): self-import ReactNode in three test files for tsconfig har… #51

Workflow file for this run

name: docs
on:
pull_request:
push:
branches: [main]
# Concurrency: cancel in-progress runs on the same PR when a new commit lands.
concurrency:
group: docs-${{ github.ref }}
cancel-in-progress: true
jobs:
docs:
name: Docs lint + link check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: pnpm
- uses: pnpm/action-setup@v4
with:
version: 10.6.5
- run: pnpm install --frozen-lockfile
- name: Markdownlint (style)
# Negative globs exclude vendor MD files in installed packages. The
# config is loaded via --config so the style rules stay self-contained.
run: |
pnpm dlx markdownlint-cli2 \
"**/*.md" \
"!**/node_modules/**" \
"!**/.git/**" \
--config .markdownlint.jsonc
- name: Markdown link check (cross-links)
# Scope is intentionally limited to the project docs (docs/**/*.md)
# + the repo root README; node_modules and other vendor paths are
# excluded by the glob itself.
run: |
pnpm dlx markdown-link-check \
"docs/**/*.md" \
"README.md" \
--config .markdown-link-check.json