Skip to content

Validate NPM token before nightly publish#56502

Closed
cipolleschi wants to merge 1 commit into
react:mainfrom
cipolleschi:export-D101594276
Closed

Validate NPM token before nightly publish#56502
cipolleschi wants to merge 1 commit into
react:mainfrom
cipolleschi:export-D101594276

Conversation

@cipolleschi

Copy link
Copy Markdown
Contributor

Summary:
Adds an NPM token validation step to the build_npm_package job of the
React Native nightly workflow. Mirrors the same check we recently added
to create-release.yml and the Hermes rn-build-hermes.yml workflows
so we fail fast (with a clear message) instead of failing partway
through the publish step when the token is expired or missing.

Changelog:

[Internal] -

Reviewed By: fabriziocucci

Differential Revision: D101594276

Summary:
Adds an NPM token validation step to the `build_npm_package` job of the
React Native nightly workflow. Mirrors the same check we recently added
to `create-release.yml` and the Hermes `rn-build-hermes.yml` workflows
so we fail fast (with a clear message) instead of failing partway
through the publish step when the token is expired or missing.

## Changelog:
[Internal] -

Reviewed By: fabriziocucci

Differential Revision: D101594276
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 20, 2026
@meta-codesync

meta-codesync Bot commented Apr 20, 2026

Copy link
Copy Markdown

@cipolleschi has exported this pull request. If you are a Meta employee, you can view the originating Diff in D101594276.

@meta-codesync meta-codesync Bot closed this in 8043a6d Apr 20, 2026
@facebook-github-tools facebook-github-tools Bot added the Merged This PR has been merged. label Apr 20, 2026
@meta-codesync

meta-codesync Bot commented Apr 20, 2026

Copy link
Copy Markdown

This pull request has been merged in 8043a6d.

@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @cipolleschi in 8043a6d

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

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. fb-exported Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants