ci(actions): restore pnpm + node setup on app-build for Xcode build phase #173

Merged
KofTwentyTwo merged 1 commits from fix/ci-app-build-needs-pnpm into develop 2026-05-13 15:24:11 +00:00
1 Commits
Author SHA1 Message Date
james.maesandClaude Opus 4.7 97fc4df0c2 ci(actions): restore pnpm + node setup on app-build for Xcode build phase
PR #164 stripped the pnpm + Node setup from the app-build job, expecting
the artifact download from the webview job to be sufficient. But the
Xcode project has a build-phase script (Script-4B80D79B2A0254274258618C.sh)
that invokes scripts/build-webview.sh as part of the xcodebuild build
itself — and that script needs pnpm on PATH.

Symptom on CI run 25806037658, App target job 75809074090:
  [build-webview] FATAL: pnpm not found on PATH (...)
  [build-webview]   Install: brew install pnpm
  Command PhaseScriptExecution failed with a nonzero exit code

Fix: re-add Setup pnpm + Setup Node.js steps before the xcodebuild
runs. The artifact download still serves as a fast-path (the build
phase re-stamps the bundle on top), but having pnpm on PATH means the
build phase doesn't crash on the first invocation.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-13 10:24:04 -05:00