ci(docs): validate typecheck and production build

This commit is contained in:
2026-07-16 20:10:50 +02:00
parent 526a5da444
commit 68b379e6b5
2 changed files with 48 additions and 0 deletions

47
.github/workflows/docs.yml vendored Normal file
View File

@@ -0,0 +1,47 @@
name: Docs website
on:
pull_request:
paths:
- "docs/**"
- ".github/workflows/docs.yml"
push:
branches:
- master
paths:
- "docs/**"
- ".github/workflows/docs.yml"
permissions:
contents: read
concurrency:
group: docs-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
quality:
runs-on: ubuntu-latest
timeout-minutes: 15
defaults:
run:
working-directory: docs
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "22"
cache: npm
cache-dependency-path: docs/package-lock.json
- name: Install dependencies
run: npm ci
- name: Type-check
run: npm run typecheck
- name: Build
run: npm run build

1
.gitignore vendored
View File

@@ -22,3 +22,4 @@ target/
# Local design export scratch # Local design export scratch
output/ output/
.screenshots