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

chore: use yarn via corepack #4393

Merged
merged 3 commits into from
Jan 14, 2025
Merged

chore: use yarn via corepack #4393

merged 3 commits into from
Jan 14, 2025

Conversation

marcelgerber
Copy link
Member

@marcelgerber marcelgerber commented Jan 7, 2025

Corepack is a nice way of letting Node provide the required version of Yarn.

Steps for devs

  • Enable corepack, which is a Node-inbuilt way of always using the correct version of yarn
    • run corepack enable once
    • this will, going forward, always use the yarn version specified in the package.json's packageManager field

@marcelgerber marcelgerber force-pushed the corepack-yarn branch 2 times, most recently from 99bd43e to 408f481 Compare January 8, 2025 10:57
@marcelgerber marcelgerber marked this pull request as ready for review January 14, 2025 07:08
@owidbot
Copy link
Contributor

owidbot commented Jan 14, 2025

Quick links (staging server):

Site Dev Site Preview Admin Wizard Docs

Login: ssh owid@staging-site-corepack-yarn

SVG tester:

Number of differences (default views): 0 ✅
Number of differences (all views): 0 ✅

Edited: 2025-01-14 11:08:51 UTC
Execution time: 1.26 seconds

@marcelgerber marcelgerber merged commit 599ea88 into master Jan 14, 2025
23 checks passed
@marcelgerber marcelgerber deleted the corepack-yarn branch January 14, 2025 11:19
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