A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.
TypeScript 2d-game-engine3d3d-game-engineandroidcppecsgame-editorgame-enginegamedeviostypescriptwebassemblywebglwebgpuwechat-minigame
ci: the static gates that need the editor run on every push
esengine759a1e5d4d49
diff --git a/.github/workflows/README.md b/.github/workflows/README.mdindex 1c767f941..aa8cefb58 100644--- a/.github/workflows/README.md+++ b/.github/workflows/README.md@@ -8,9 +8,10 @@ checkout.## The editor submodule (`desktop/`)The editor is a **private** repository mounted at `desktop/`, so the workflow-token cannot read it. The jobs that drive an editor need it — **Editor authoring-checks**, **Golden packages**, **Packages (streamed, compiled, released)** and the-release workflow's **electron-builder** job — and they fetch it through+token cannot read it. The jobs that drive or check an editor need it — **Tests+(engine + SDK)** for the gate list's editor gates, **Editor authoring checks**,+**Golden packages** and the release workflow's **electron-builder** job — and they+fetch it through`./.github/actions/editor-checkout`, which uses a**read-only deploy key**:diff --git a/.github/workflows/build.yml b/.github/workflows/build.ymlindex 75aa069e6..65714dc8d 100644--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@ -198,6 +198,13 @@ jobs:steps:- uses: actions/checkout@v7+ # Eighteen gates in the list need the editor. Without its checkout the runner+ # named them and ran none, on every push — the release-notes ledger went red+ # only at night, and the editor's own type check not at all.+ - uses: ./.github/actions/editor-checkout+ with:+ ssh-key: ${{ secrets.EDITOR_SSH_KEY }}+- uses: ./.github/actions/setup# Every static gate, from the one list in tools/gates.mjs. CI and the@@ -653,14 +660,6 @@ jobs:echo "::warning::bundletool unavailable — the .aab tests run structural-only"fi- # The editor's unit suites. They ran in the `test` job, which has no editor- # checkout — `pnpm --filter` prints "No projects matched" and exits 0, so the- # job reported success having run none of them.- - name: Run Desktop tests- # Work, not reporting: one shard does it for the matrix.- if: matrix.shard == 1- run: pnpm --filter @estella/editor exec vitest run-# The authoring checks above spent months failing at random with# `timeout tools/call open_project`. The cause was never the call: a main# process exception put up a modal dialog, and a dialog waits for a click