Skip to content

Conversation

Saadnajmi
Copy link
Collaborator

Summary:

nx release requires a .npmrc file. Let's create one with our NPM auth token, and remove it after we finish publishing out of an abundance of caution.

Test Plan:

Change is already in 0.76-stable and 0.77-stable. For whatever reason, it works on 0.76 and not on 0.77

@Saadnajmi Saadnajmi requested a review from a team as a code owner March 18, 2025 06:09
@Saadnajmi Saadnajmi enabled auto-merge (squash) March 18, 2025 11:39
@Saadnajmi Saadnajmi merged commit 555a19c into microsoft:main Mar 18, 2025
12 checks passed
Saadnajmi added a commit to Saadnajmi/react-native-macos that referenced this pull request Mar 26, 2025
`nx release` requires a `.npmrc` file. Let's create one with our NPM
auth token, and remove it after we finish publishing out of an abundance
of caution.

Change is already in 0.76-stable and 0.77-stable. For whatever reason,
it works on 0.76 and not on 0.77

---------

Co-authored-by: Tommy Nguyen <[email protected]>
Saadnajmi added a commit to Saadnajmi/react-native-macos that referenced this pull request Mar 26, 2025
`nx release` requires a `.npmrc` file. Let's create one with our NPM
auth token, and remove it after we finish publishing out of an abundance
of caution.

Change is already in 0.76-stable and 0.77-stable. For whatever reason,
it works on 0.76 and not on 0.77

---------

Co-authored-by: Tommy Nguyen <[email protected]>
Comment on lines +46 to +47
env:
NODE_AUTH_TOKEN: $(npmAuthToken)
Copy link
Member

Choose a reason for hiding this comment

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

This step doesn't need the token

Saadnajmi added a commit that referenced this pull request Mar 26, 2025
## Summary:

Backport #2422 , #2432 , and #2434 to 0.76-stable

## Test Plan:

CI should pass

---------

Co-authored-by: Tommy Nguyen <[email protected]>
Saadnajmi added a commit that referenced this pull request Mar 26, 2025
## Summary:

Backport #2422 , #2432 , and #2434 to 0.77-stable

## Test Plan:

CI should pass

---------

Co-authored-by: Tommy Nguyen <[email protected]>
@Saadnajmi Saadnajmi mentioned this pull request May 1, 2025
4 tasks
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