Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI

on:
push:
branches: [main]
pull_request:

permissions:
contents: read

concurrency:
group: motion-ci-${{ github.ref }}
cancel-in-progress: true

jobs:
check:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 10
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm check
4 changes: 4 additions & 0 deletions PROJECT_STATUS.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ multiplayer are **v2**, already scaffolded and parked in-repo.
relay and web-game surfaces. Thirty-nine applicable source and configuration
files pass with zero diagnostics via explicit compatibility rules; iOS,
built webgame bundles, public output, and runtime behavior remain unchanged.
- **2026-08-09** — Added repository-owned push/PR CI for the server/web
typecheck, web build, and static landing contract, plus an explicit manual
Cloudflare Pages release command for the live public landing. Hosted CI keeps
iOS signing and physical-camera verification out of scope.
- **2026-07-31** — Extended the existing product-specific agent catalog with a
full brief and changelog Markdown mirror while preserving the prototype and
privacy boundaries; production deployment remains separate.
Expand Down
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,26 @@ app** (`ios/Resources/webgame`), so no dev server or Mac network is needed to pl
`GameConfig.forceDevServer = true`, point the app's dev-server IP at your Mac, and
refresh the bundle after changes with `./scripts/sync-webgame.sh`.

## Checks and public landing release

Pushes and pull requests run the repository-owned web/server typecheck, web
build, and static landing contract. Physical-device and signing evidence stays
manual because hosted CI cannot exercise the camera path.

```bash
pnpm check
```

The public landing is a separate static Cloudflare Pages surface. Release it
only from a clean, synchronized `main` after exact-main CI is green:

```bash
pnpm deploy
```

The parked PartyKit relay keeps its separate `server` deploy command and is not
released by the landing command.

## Status & the main risk

MVP POC. See [`PROJECT_STATUS.md`](./PROJECT_STATUS.md) and
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
"dev:web": "pnpm --filter motion-web run dev",
"lint": "ultracite check .",
"typecheck": "pnpm --filter motion-server run typecheck && pnpm --filter motion-web run typecheck",
"build": "pnpm --filter motion-web run build"
"build": "pnpm --filter motion-web run build",
"check:landing": "node scripts/check-landing.mjs",
"check": "pnpm lint && pnpm typecheck && pnpm build && pnpm check:landing",
"deploy": "npx wrangler pages deploy landing --project-name motion --branch main"
},
"devDependencies": {
"@biomejs/biome": "2.5.5",
Expand Down
Loading