-
-
Notifications
You must be signed in to change notification settings - Fork 3
fix: resolve CI and Android build issues with Yarn lockfile and JVM compatibility #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
7f5240d
refactor: README and example documentation to clarify automatic preprβ¦
05e7a23
chore: update CHANGELOG for version 0.1.0 release, add compatibility β¦
05496d1
chore: remove pre-publish script, enhance example app with improved fβ¦
2bd12b3
ci: improve workflow configuration with memory optimization and Yarn β¦
e51fff8
chore: update CHANGELOG, README, example to clarify preprocessing, enβ¦
818b5aa
chore: add podspec and configuration, update Android build settings, β¦
ff08656
chore: enhance caching strategy in CI workflow, improve Yarn installaβ¦
5e8fc66
chore: modify package.json for workspace support
34a7f3d
chore: update yarn.lock to use workspace protocol
b023860
chore: update CI workflow to cache Expo dependencies and streamline bβ¦
ef5a8b3
chore: update CI workflow to set CI environment variable and modify bβ¦
3f84deb
chore: set CI environment variable for Android and iOS build jobs in β¦
793fdca
chore: set CI environment variable for build commands in package.json
f25f7b7
fix: resolve CI build issue with Expo prebuild in non-interactive mode
6b16e29
fix: correct iOS build sequence by moving pod install after expo prebβ¦
858885b
chore: update Xcode version in CI workflow from 16.2 to 16.4
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| name: Environment Configuration | ||
|
|
||
| on: | ||
| workflow_call: | ||
|
|
||
| env: | ||
| # Node.js memory settings to prevent OOM errors | ||
| NODE_OPTIONS: --max-old-space-size=4096 | ||
|
|
||
| # Yarn settings for better CI performance | ||
| YARN_ENABLE_IMMUTABLE_INSTALLS: true | ||
| YARN_ENABLE_GLOBAL_CACHE: false | ||
|
|
||
| # Disable telemetry for various tools | ||
| NEXT_TELEMETRY_DISABLED: 1 | ||
| TURBO_TELEMETRY_DISABLED: 1 | ||
|
|
||
| jobs: | ||
| validate-environment: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Check Node version | ||
| run: node --version | ||
|
|
||
| - name: Check Yarn version | ||
| run: yarn --version | ||
|
|
||
| - name: Check available memory | ||
| run: free -h |
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
π‘ Verification agent
π§© Analysis chain
Corepack version pin: verify packageManager is set
Ensure
package.json(andexample/package.jsonif applicable) has apackageManager: "yarn@<exact>"entry socorepack enableactivates the intended Yarn version.π Script executed:
Length of output: 130
Add missing
packageManagerfield to example/package.jsonThe root
package.jsonalready specifies"packageManager": "yarn@3.6.1", butexample/package.jsonis missing this field. Without it,corepack enablemay not pick up the intended Yarn version when running the example workflow.β’ In
example/package.json, add:to match the root configuration and ensure Corepack correctly activates Yarn v3.6.1.
π€ Prompt for AI Agents