Skip to content

Deployment

The docs package lives in packages/docs and is deployed with GitHub Actions.

Terminal window
pnpm typecheck
pnpm test
pnpm build
pnpm --filter @threejs-debug-view/docs dev
pnpm --filter @threejs-debug-view/docs build

For package and docs confidence in one local pass:

Terminal window
pnpm verify

For runtime-facing WebGPU changes, also smoke-test the Vite demo in a browser with WebGPU support:

Terminal window
pnpm dev
pnpm run build:demo:docs

The Astro config uses the repository Pages URL:

export default defineConfig({
site: "https://tonyblu331.github.io",
base: "/threejs-debug-view",
})

The workflow at .github/workflows/quality.yml validates package and docs builds on pull requests and master pushes. The workflow at .github/workflows/deploy-docs.yml builds the live demo, builds packages/docs, and deploys the generated site with GitHub Pages.