Skip to content

[RN][Releases] Automate the check for the Release on NPM#49164

Closed
cipolleschi wants to merge 1 commit intomainfrom
cipolleschi/automate-checn-release-on-npm
Closed

[RN][Releases] Automate the check for the Release on NPM#49164
cipolleschi wants to merge 1 commit intomainfrom
cipolleschi/automate-checn-release-on-npm

Conversation

@cipolleschi
Copy link
Copy Markdown
Contributor

@cipolleschi cipolleschi commented Feb 4, 2025

Summary:

One of the steps we perform when doing a release is to run npm view react-native to verify that the release has been published and it is available with the right tag.
As of today, we check this manually.

This change aims at automating this check so that we don't have to do it manually ourselves.

Changelog:

[Internal] - Releases: automate the npm view check

Test Plan:

Created a veriftyReleaseOnNPM-tests.js jest test to verify that the script works fine.

Screenshot 2025-02-04 at 15 18 24

@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 4, 2025
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

@cipolleschi cipolleschi force-pushed the cipolleschi/automate-checn-release-on-npm branch from 6f7b6de to 1ad9ee1 Compare February 4, 2025 14:33
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

@cipolleschi cipolleschi force-pushed the cipolleschi/automate-checn-release-on-npm branch 2 times, most recently from 939717c to 9b19adc Compare February 4, 2025 15:19
@cipolleschi cipolleschi marked this pull request as ready for review February 4, 2025 15:19
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

@cipolleschi cipolleschi force-pushed the cipolleschi/automate-checn-release-on-npm branch from 9b19adc to afef98c Compare February 4, 2025 15:21
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

@cipolleschi cipolleschi force-pushed the cipolleschi/automate-checn-release-on-npm branch from afef98c to 05a9c02 Compare February 4, 2025 15:37
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

@cipolleschi cipolleschi force-pushed the cipolleschi/automate-checn-release-on-npm branch from 05a9c02 to ac74d0c Compare February 5, 2025 13:28
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Feb 5, 2025
@facebook-github-bot
Copy link
Copy Markdown
Contributor

@cipolleschi merged this pull request in a52f551.

@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @cipolleschi in a52f551

When will my fix make it into a release? | How to file a pick request?

facebook-github-bot pushed a commit that referenced this pull request Feb 10, 2025
Summary:
These snuck in, presumably accidentally, via #49164.

This interferes with running test suites with a debugger connected (e.g, when debugging Jest itself).

(Aside: we should probably enable [`eslint/no-debugger`](https://eslint.org/docs/latest/rules/no-debugger) to catch these)

Changelog: [Internal]

Differential Revision: D69377992
facebook-github-bot pushed a commit that referenced this pull request Feb 10, 2025
Summary:
Pull Request resolved: #49289

These snuck in, presumably accidentally, via #49164.

This interferes with running test suites with a debugger connected (e.g, when debugging Jest itself).

(Aside: we should probably enable [`eslint/no-debugger`](https://eslint.org/docs/latest/rules/no-debugger) to catch these)

Changelog: [Internal]

Reviewed By: hoxyq

Differential Revision: D69377992

fbshipit-source-id: 5d51d18be76f9b01852b2e5b7297b95452f36d55
@cipolleschi cipolleschi deleted the cipolleschi/automate-checn-release-on-npm branch March 3, 2025 15:08
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.

3 participants