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(setup): the toolchain action can install elsewhere
esengine510f3710b935
diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.ymlindex 4b9797a00..e748235f0 100644--- a/.github/actions/setup/action.yml+++ b/.github/actions/setup/action.yml@@ -8,6 +8,12 @@ inputs:install:description: Run `pnpm install --frozen-lockfile` after the toolchain is set up.default: 'true'+ working-directory:+ description: >+ Where the workspace is. The editor's own CI checks the engine out into a+ subdirectory and mounts itself under it, so the install runs there — and+ the toolchain versions stay defined in this one file for both repositories.+ default: '.'runs:using: composite@@ -20,9 +26,11 @@ runs:with:node-version: ${{ inputs.node-version }}cache: pnpm+ cache-dependency-path: ${{ inputs.working-directory }}/pnpm-lock.yaml# Frozen so a stale lockfile fails the run instead of being silently# rewritten — reproducible installs across every job.- if: inputs.install == 'true'shell: bash+ working-directory: ${{ inputs.working-directory }}run: pnpm install --frozen-lockfile