Skip to content

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.

ci: disable the electron SUID sandbox for headless render verify

yhh734ef282e37f
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index a3491ca03..c8657df6a 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -184,6 +184,10 @@ jobs:
- name: Run headless verify scenes
working-directory: desktop
+ env:
+ # CI runners can't use the SUID sandbox helper (not root-owned in
+ # node_modules); rendering verification doesn't need it.
+ ELECTRON_DISABLE_SANDBOX: '1'
run: |
run_scene() {
echo "=== $1"