Skip to content

perf(ci): optimize React Native E2E caching#56

Merged
abueide merged 1 commit intomainfrom
perf/rn-ci-optimizations
May 1, 2026
Merged

perf(ci): optimize React Native E2E caching#56
abueide merged 1 commit intomainfrom
perf/rn-ci-optimizations

Conversation

@abueide
Copy link
Copy Markdown
Contributor

@abueide abueide commented May 1, 2026

Summary

Reduces React Native CI E2E time by removing unnecessary CocoaPods spec repo re-downloads and adding node_modules caching.

Changes

  • Remove --repo-update from pod install in iOS and all-platform E2E test suites (the workflow already caches ~/.cocoapods/repos, so re-downloading the full spec repo on every run is wasted time — saves ~3-8 min)
  • Add node_modules cache step in e2e-react-native.yml keyed on package-lock.json (avoids full npm install on cache hit)

Why

RN E2E jobs take significantly longer than native Android/iOS jobs. These two changes target the biggest low-hanging fruit without changing test behavior.


🤖 Generated with Claude Code

@abueide abueide added the chore Maintenance, dependencies, tooling label May 1, 2026
…ing --repo-update

The CocoaPods --repo-update flag re-downloads the entire spec repo on every
run (~3-8 min). The workflow already caches ~/.cocoapods/repos, so the flag
is unnecessary. Also adds node_modules caching to avoid redundant npm installs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@abueide abueide force-pushed the perf/rn-ci-optimizations branch from ec259c0 to 90187aa Compare May 1, 2026 23:16
@abueide abueide marked this pull request as ready for review May 1, 2026 23:48
@abueide abueide merged commit c8a2afb into main May 1, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Maintenance, dependencies, tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant