Skip to content

ci(0.78): Add docs and CI checks for RN peer dependency #2557

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

Closed

Conversation

amgleitman
Copy link
Member

Summary:

This enforces and explains the existence of a peer dependency on RNCore for Hermes builds.

Test Plan:

The added CI should pass.


## Hermes Compatibility (0.74 and above)

*Note: This is only applicable if Hermes is enabled via the `USE_HERMES=1` environment variable when running `pod install`.*
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Speaking of.. can we find what version of RN set Hermes as the default and align to that now?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did this in #2538 when I added a peer dependency to package.json. Or are you referring to something else?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm referring to setting Hermes as the default so that we don't need to do USE_HERMES=1 pod install. That's how RN Core has it

@@ -34,3 +34,21 @@ stages:
# jobs:
# - template: /.ado/jobs/test-react-native-macos-init.yml@self
# - template: /.ado/jobs/react-native-test-app-integration.yml@self

- stage: Validate_Peer_Dependency
displayName: 'Validate Peer Dependency'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we move to GitHub Actions?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ping on this one again

@Saadnajmi
Copy link
Collaborator

Superseded by #2582

@Saadnajmi Saadnajmi closed this Jul 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants