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

Fix corepack error and update Yarn to 3.7.0 #113

Merged
merged 2 commits into from
Dec 5, 2023
Merged

Conversation

guilgaly
Copy link
Member

@guilgaly guilgaly commented Dec 4, 2023

No description provided.

@guilgaly guilgaly self-assigned this Dec 4, 2023
Motivation:

- packageManager setting isn't used of corepack isn't enabled
- recent versions of yarn 1 will output an error if packageManager is set but corepack isn't enabled (before 'yarn set version' command is effective)

Modifications:

Enable corepack in CI workflows.

Result:

Avoid error in CI workflows.
@@ -3977,11 +3977,11 @@ __metadata:

"typescript@patch:[email protected]#~builtin<compat/typescript>":
version: 5.2.2
resolution: "typescript@patch:typescript@npm%3A5.2.2#~builtin<compat/typescript>::version=5.2.2&hash=d73830"
resolution: "typescript@patch:typescript@npm%3A5.2.2#~builtin<compat/typescript>::version=5.2.2&hash=f3b441"
Copy link
Member Author

Choose a reason for hiding this comment

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

I have no idea why this changed when updating from yarn 3.3.0 to 3.7.0 🤷

Copy link
Member

Choose a reason for hiding this comment

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

When you updated yarn, I guess you had to do a yarn install.
So, the real dependencies were updated (weird one, I admit)

@guilgaly guilgaly merged commit 118e260 into main Dec 5, 2023
1 check passed
@guilgaly guilgaly deleted the fix-corepack-error branch December 5, 2023 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants