Files
Akira ValadeandClaude Opus 5.5 ae989f2846
Deploy demo to GitHub Pages / build (push) Canceled after 0s
Deploy demo to GitHub Pages / deploy (push) Canceled after 0s
Monorepo with installable package, install page, head and spin fixes
- Split into yarn workspaces: packages/pet-pet (npm package: ESM, UMD,
  IIFE, d.ts, optional pet-pet/react hook + component) and apps/demo.
- Demo "Installation" page: install tabs, vanilla/React/script usage,
  live reaction chips, options, methods, events.
- Release workflow on v* tags: npm publish with provenance and a GitHub
  Release with the tarball. Pages deploy now type-checks and lints.
- Head bump is now a real head merged into the body path; face and ears
  follow it instead of sitting under a bump.
- Ragdoll forces go through torque-consistent impulses and the grab is a
  point constraint, so holding it no longer spins it up.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 04:11:50 +01:00

43 lines
851 B
YAML

name: Deploy demo to GitHub Pages
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: yarn
- run: yarn install --frozen-lockfile
- run: yarn type-check
- run: yarn lint
- run: yarn test
- run: yarn build
- uses: actions/upload-pages-artifact@v3
with:
path: apps/demo/dist
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v4