docs(supersplat): document timeline key copying and camera pose gizmos #2632
Workflow file for this run
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: | |
| workflow_dispatch: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| concurrency: | |
| group: ci-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Checkout files | |
| uses: actions/checkout@v7 | |
| - name: Setup Node.js 22.x | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22.x | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm clean-install --progress=false --no-fund | |
| - name: Build | |
| run: npm run build | |
| # Shared static assets must only be emitted by the default-locale build; | |
| # a localized build ships just its pages plus the small static-theme/ | |
| # assets (~60 MB total vs ~800 MB when duplication regresses). Guards the | |
| # DOCUSAURUS_CURRENT_LOCALE-based dedup in docusaurus.config.js against | |
| # regressing on a Docusaurus upgrade (see issue #880). | |
| - name: Check static assets are not duplicated per locale | |
| run: | | |
| JA_SIZE_MB=$(du -sm build/ja | cut -f1) | |
| echo "Total build size: $(du -sh build | cut -f1) (ja locale: ${JA_SIZE_MB} MB)" | |
| if [ "$JA_SIZE_MB" -gt 200 ]; then | |
| echo "::error::build/ja is ${JA_SIZE_MB} MB - shared static assets are being copied per locale again (see issue #880)" | |
| exit 1 | |
| fi | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Checkout files | |
| uses: actions/checkout@v7 | |
| - name: Setup Node.js 22.x | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22.x | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm clean-install --progress=false --no-fund | |
| - name: Lint | |
| run: npm run lint |