Repository navigation
docs(learn): sync generated Playground pages #157
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |