Skip to content

Commit 9af0ba3

Browse files
committed
improvement(desktop): bundle the desktop app without macOS prebuilds in the Linux E2E step
1 parent 03a7a0d commit 9af0ba3

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
@@ -454,9 +454,9 @@ jobs:
454454
sudo apt-get update -q
455455
sudo apt-get install -yq xvfb libgtk-3-0t64 libnss3 libasound2t64 libgbm1 libxss1 \
456456
libxtst6 libatk-bridge2.0-0t64 libxkbcommon0 > /dev/null
457-
# The build stages node-pty prebuilds in TMPDIR and renames them into node_modules, so
458-
# TMPDIR must be on the workspace's filesystem.
459-
(cd apps/desktop && TMPDIR="$RUNNER_TEMP" bun run build)
457+
# Bundle only: `bun run build` also fetches the macOS node-pty prebuilds for packaging,
458+
# which a Linux run does not use.
459+
(cd apps/desktop && bun run scripts/build.ts)
460460
(cd apps/realtime && PORT=3023 SIM_DB_ROLE=realtime ALLOWED_ORIGINS="$NEXT_PUBLIC_APP_URL" \
461461
exec bun src/index.ts > "$report_dir/desktop-tools-realtime.log" 2>&1) &
462462
realtime_pid=$!

0 commit comments

Comments
 (0)