fix(mobile): pin Capacitor 8 packages so CI cap add android works - #417
Merged
Conversation
Contributor
|
✓ Changelog fragment found — thanks! |
Contributor
|
Preview removed for PR #417. |
Capacitor 8's `cap add android` requires @capacitor/android installed in
the project, so the npx-latest scripts fail in the mobile-e2e workflow.
Pin @capacitor/{cli,core,android,ios}@8.4.1 as devDependencies of
xnet-mobile-shell and switch the scripts to the pinned CLI (pnpm exec cap).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: xNet Test <test@xnet.dev>
crs48
force-pushed
the
claude/upbeat-napier-8b894c
branch
from
July 8, 2026 19:48
e04067a to
c421534
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The dispatch-only
mobile-e2e.ymlworkflow (exploration 0238, un-broken in #414) failed at Add Android project:apps/mobilehad no Capacitor dependencies and every script shelled out tonpx --yes @capacitor/cli@latest, but Capacitor 8'scap add androidrequires@capacitor/androidinstalled in the project.@capacitor/cli,@capacitor/core,@capacitor/android,@capacitor/iosat 8.4.1 as devDependencies ofxnet-mobile-shell(private, no changeset needed).pnpm exec cap …) — reproducible and no surprise majors.Verification
gh workflow run mobile-e2e.yml --ref claude/upbeat-napier-8b894c -f platform=android→ run 28968475239 success: every step green through theRun Maestro flowsTODO, including[success] android platform added!and Capacitor sync. Emulator/Maestro wiring remains the documented TODO.🤖 Generated with Claude Code