Skip to content

Content Quality

Content Quality #9

name: Content Quality
on:
pull_request:
paths:
- "content/**"
- "source/**"
- "scripts/**"
- "tests/**"
- "app/**"
- "components/**"
- "lib/**"
- "package.json"
- "package-lock.json"
- ".github/workflows/**"
push:
branches: [main]
paths:
- "content/**"
- "source/**"
- "scripts/**"
- "tests/**"
- "app/**"
- "components/**"
- "lib/**"
- "package.json"
- "package-lock.json"
- ".github/workflows/**"
workflow_dispatch:
permissions:
contents: read
concurrency:
group: content-quality-${{ github.ref }}
cancel-in-progress: true
jobs:
quality:
name: Validate content and application
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm run test:content
- run: npm run test:unit
- run: npm run lint:sync
- run: npm run lint:frontmatter
- run: npm run lint:content
- run: npm run lint:mermaid
- run: npm run lint:app