Skip to content
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

Update test_android_template to use build_npm_package #33068

Closed
wants to merge 5 commits into from

Conversation

cortinico
Copy link
Contributor

@cortinico cortinico commented Feb 8, 2022

I'm updating the test_android_template CI step to use the result of build_npm_package instead of sed-ing the RN version to file:...
This should be more robust and will allow to install transitive deps automatically, without having to deal with separate installation steps.

This also fixes the broken CI for Android

Changelog:
[Internal] [Changed] - Update test_android_template to use build_npm_package

I'm updating the `test_android_template` CI step to use npm pack instead of sed-ing the RN version to `file:..`.
This should be more robust and will allow to install transitive deps automatically, without having to deal with separate installation steps.

This also fixes the broken CI for Android

Changelog:
[Internal] [Changed] - Update `test_android_template` to use `npm pack`
@cortinico cortinico requested a review from hramos as a code owner February 8, 2022 18:59
@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Feb 8, 2022
@facebook-github-bot
Copy link
Contributor

@cortinico has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@analysis-bot
Copy link

analysis-bot commented Feb 9, 2022

Platform Engine Arch Size (bytes) Diff
ios - universal n/a --

Base commit: a75bbe7
Branch: main

@analysis-bot
Copy link

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,120,321 -678
android hermes armeabi-v7a 7,721,683 -819
android hermes x86 8,491,104 -642
android hermes x86_64 8,442,936 -601
android jsc arm64-v8a 9,787,120 -745
android jsc armeabi-v7a 8,773,371 -873
android jsc x86 9,754,511 -684
android jsc x86_64 10,350,430 -661

Base commit: a75bbe7
Branch: main

@cortinico cortinico changed the title Update test_android_template to use npm pack Update test_android_template to use build_npm_package Feb 9, 2022
@facebook-github-bot
Copy link
Contributor

@cortinico has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @cortinico in 8ee1f83.

When will my fix make it into a release? | Upcoming Releases

@react-native-bot react-native-bot added the Merged This PR has been merged. label Feb 9, 2022
ShikaSD pushed a commit that referenced this pull request Feb 24, 2022
Summary:
I'm updating the `test_android_template` CI step to use the result of `build_npm_package` instead of sed-ing the RN version to `file:..`.
This should be more robust and will allow to install transitive deps automatically, without having to deal with separate installation steps.

This also fixes the broken CI for Android

Changelog:
[Internal] [Changed] - Update `test_android_template` to use `build_npm_package`

Pull Request resolved: #33068

Reviewed By: ShikaSD

Differential Revision: D34083047

Pulled By: cortinico

fbshipit-source-id: de34472d5737db445cfc0d4b1c6feaf1e746bb61
@cortinico cortinico deleted the cortinico-patch-3 branch June 27, 2022 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. p: Facebook Partner: Facebook Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants