Skip to content

Commit 21bb9e6

Browse files
committed
improvement(desktop): bundle the desktop app without macOS prebuilds in the Linux E2E step
1 parent d22c09e commit 21bb9e6

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

0 commit comments

Comments
 (0)