Skip to content

docs(learn): sync generated Playground pages #157

docs(learn): sync generated Playground pages

docs(learn): sync generated Playground pages #157

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- name: Install
run: npm ci
- name: gen-docs drift check
run: |
node scripts/gen-docs.mjs
git add -N content/docs/reference/functions
git diff --exit-code -- content/docs/reference/functions
- name: gen-openapi-docs drift check
run: |
node scripts/gen-openapi-docs.mjs
git add -N content/docs/api/rest
git diff --exit-code -- content/docs/api/rest
- name: test-docs (Learn examples)
run: node scripts/test-docs.mjs
- name: lint:enrichment (curated content + formula execution)
run: npm run lint:enrichment
- name: Build (static export)
run: npm run build
env:
NEXT_PUBLIC_BASE_URL: https://docs.truecalc.app