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
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ jobs:
- run: bun test packages apps/dev scripts

web-build:
if: github.event_name == 'push'
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
Expand All @@ -82,7 +81,7 @@ jobs:
key: bun-${{ runner.os }}-${{ hashFiles('bun.lock') }}
restore-keys: bun-${{ runner.os }}-
- run: bun install --frozen-lockfile
- run: bun run --cwd apps/web build
- run: bun --cwd=apps/web run build

smoke:
if: github.event_name == 'push'
Expand Down
4 changes: 3 additions & 1 deletion apps/web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ The landing page for JGengine and the front door for agents. It runs TanStack St

## Games on the site

`vite build` runs the existing `games-player` plugin, which builds `apps/dev` into `public/play`. The ignored `Games` checkout must be a real `Noisemaker111/JGengine-games` clone with its dependencies installed:
`bun --cwd=apps/web run build` builds the SDK packages before Vite builds the site and the `games-player` plugin builds `apps/dev` into `public/play`.
CI runs this command on cold checkouts for pushes and PRs; deploy uses the same build.
The ignored `Games` checkout must be a real `Noisemaker111/JGengine-games` clone with its dependencies installed:

```sh
bun run games:clone
Expand Down
4 changes: 2 additions & 2 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"type": "module",
"scripts": {
"dev": "vite dev",
"build": "vite build",
"deploy:cloudflare": "vite build && wrangler deploy",
"build": "bun --cwd=../.. run build && vite build",
"deploy:cloudflare": "bun run build && wrangler deploy",
"check-types": "tsgo --noEmit -p tsconfig.json",
"start": "wrangler dev"
},
Expand Down
Loading