Skip to content

Conversation

@Saadnajmi
Copy link
Collaborator

Summary:

nx release will bump local packages that are referenced in our lock file, thus invalidating the lock file till we run yarn install again. Let's run yarn install as part of our generator

Test Plan:

Tested by cherry picking this commit to a local 0.77-stable branch, creating a version plan, and running nx release --dry-run. yarn install was run.

@Saadnajmi Saadnajmi requested a review from a team as a code owner March 19, 2025 11:36
Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
@Saadnajmi Saadnajmi changed the title ci: run yarn install as part of nx release ci: update yarn.lock as part of nx release Mar 19, 2025
@Saadnajmi Saadnajmi merged commit 791012b into microsoft:main Mar 19, 2025
12 checks passed
@Saadnajmi Saadnajmi deleted the yarn-install branch March 19, 2025 16:50
Saadnajmi added a commit to Saadnajmi/react-native-macos that referenced this pull request Mar 19, 2025
## Summary:

`nx release` will bump local packages that are referenced in our lock
file, thus invalidating the lock file till we run `yarn install` again.
Let's run `yarn install` as part of our generator

## Test Plan:

Tested by cherry picking this commit to a local `0.77-stable` branch,
creating a version plan, and running `nx release --dry-run`. `yarn
install` was run.

---------

Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
Saadnajmi added a commit to Saadnajmi/react-native-macos that referenced this pull request Mar 19, 2025
## Summary:

`nx release` will bump local packages that are referenced in our lock
file, thus invalidating the lock file till we run `yarn install` again.
Let's run `yarn install` as part of our generator

## Test Plan:

Tested by cherry picking this commit to a local `0.77-stable` branch,
creating a version plan, and running `nx release --dry-run`. `yarn
install` was run.

---------

Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
@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