Files
LangBot/.github/workflows/docs-tests.yml
huanghuoguoguo 1f227f7aa8 ci: scope PR checks and run the complete matrix daily (#3056)
* ci: streamline pull request checks and run the full matrix daily

Refs #3055

* ci: run runtime contracts only on affected Core checks

* test(ci): distinguish SDK checks from SDK publication

* fix(ci): retain legacy regressions and scope production image builds

* docs(ci): clarify focused regressions and production image selection
2026-11-17 17:31:50 +08:00

37 lines
930 B
YAML

name: Docs tests
on:
pull_request:
paths: ['docs/**', '.github/workflows/*docs*.yml', '.github/workflows/sync-github-wiki.yml', '.github/workflows/sync-blog-articles.yml']
workflow_dispatch:
workflow_call:
permissions:
contents: read
concurrency:
group: docs-tests-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
docs:
name: Fumapress docs build
runs-on: ubuntu-latest
timeout-minutes: 15
defaults:
run:
working-directory: docs
steps:
- uses: actions/checkout@v7
with:
persist-credentials: false
- uses: actions/setup-node@v7
with:
node-version: '24'
cache: npm
cache-dependency-path: docs/package-lock.json
- run: npm ci
- run: npm run typecheck
- run: npm test
- run: npm run build