Repository navigation
ci(eas): build Android and iOS on every pull request to main - #29
Merged
Merged
Conversation
.eas/workflows/pr-builds.yml runs two EAS build jobs on pull_request to main, cancelling an in-progress run when the branch gets a new push. They use a new "pr" profile: an Android APK with withoutCredentials (signed by the template debug keystore) and an iOS simulator build, so neither needs signing credentials. Release configuration, so prebuild, config plugins and the native compile are exercised as they ship. tests/easWorkflows.test.ts checks every workflow profile exists in eas.json and pins the pr profile to credential-free settings. `eas workflow:validate` reports the file valid. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Builds Android and iOS on EAS for every pull request to
main.What changed
.eas/workflows/pr-builds.yml: twobuildjobs that run onpull_requesttomain. A new push to the branch cancels the run already in progress.eas.json: a newprprofile, built in the Release configuration so prebuild, the config plugins and the native compile run the same way they do for store builds.withoutCredentials: true, signed with the template's debug keystore.simulator: true.productionbuild so far has errored at "Resolve build configuration".tests/easWorkflows.test.ts: checks that every profile a workflow names exists ineas.json, and that theprprofile stays credential-free.How it was tested
npx eas-cli workflow:validate .eas/workflows/pr-builds.ymlreports "Workflow configuration YAML is valid."npx jest tests/easWorkflows.test.tspasses 4/4;npm run typecheckandnpm run lintare clean.Cost
Each PR push starts 2 EAS builds against the plan's build minutes.
🤖 Generated with Claude Code