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

ci: Temporarily re-add lerna to package.json #16036

Closed
wants to merge 8 commits into from

Conversation

alexvy86
Copy link
Contributor

@alexvy86 alexvy86 commented Jun 16, 2023

Description

@octokit/rest shipped a breaking change (one of its deps now requires Node >=18 instead of >=14) in a patch release that is being installed transitively through Lerna's dependencies when we do npx lerna. This is causing our CI runs to fail because they use node 16.

@octokit/rest has an issue open which might see the breaking change reverted, but in the meantime we're changing the version of Lerna we use to one that doesn't end up bringing in the broken dependency to unblock our CI per the workaround here. we're re-adding Lerna to our root dev deps and pinning the broken dep to a version before the breaking change.

We should revert the changes in this PR when possible, i.e. when @octokit/rest releases a fixed version, since we're working towards removing Lerna from the repo at some point.

@alexvy86 alexvy86 requested a review from a team as a code owner June 16, 2023 19:35
@github-actions github-actions bot added area: build Build related issues base: main PRs targeted against main branch labels Jun 16, 2023
@github-actions github-actions bot removed the area: build Build related issues label Jun 16, 2023
@alexvy86 alexvy86 requested a review from a team as a code owner June 16, 2023 20:26
@github-actions github-actions bot added the dependencies Pull requests that update a dependency file label Jun 16, 2023
@alexvy86 alexvy86 changed the title ci: Change pinned lerna version ci: Temporarily re-add lerna to package.json Jun 16, 2023
@github-actions github-actions bot added the area: build Build related issues label Jun 16, 2023
@msfluid-bot
Copy link
Collaborator

msfluid-bot commented Jun 16, 2023

Baseline CI build failed, cannot generate bundle analysis at this time


Baseline commit: 9299746

Generated by 🚫 dangerJS against 51a3d77

@alexvy86
Copy link
Contributor Author

Upstream issue has been fixed. Closing this as unnecessary.

@alexvy86 alexvy86 closed this Jun 16, 2023
@alexvy86 alexvy86 deleted the change-pinned-lerna-version branch July 21, 2023 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: build Build related issues base: main PRs targeted against main branch dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants