Skip to content

Commit 73adfd4

Browse files
committed
improvement(desktop): bundle the desktop app without macOS prebuilds in the Linux E2E step
1 parent 2e0e03b commit 73adfd4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎.github/workflows/test-build.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -458,9 +458,9 @@ jobs:
458458
sudo apt-get update -q
459459
sudo apt-get install -yq xvfb libgtk-3-0t64 libnss3 libasound2t64 libgbm1 libxss1 \
460460
libxtst6 libatk-bridge2.0-0t64 libxkbcommon0 > /dev/null
461-
# The build stages node-pty prebuilds in TMPDIR and renames them into node_modules, so
462-
# TMPDIR must be on the workspace's filesystem.
463-
(cd apps/desktop && TMPDIR="$RUNNER_TEMP" bun run build)
461+
# Bundle only: `bun run build` also fetches the macOS node-pty prebuilds for packaging,
462+
# which a Linux run does not use.
463+
(cd apps/desktop && bun run scripts/build.ts)
464464
(cd apps/realtime && PORT=3023 SIM_DB_ROLE=realtime ALLOWED_ORIGINS="$NEXT_PUBLIC_APP_URL" \
465465
exec bun src/index.ts > "$report_dir/desktop-tools-realtime.log" 2>&1) &
466466
realtime_pid=$!

0 commit comments

Comments
 (0)