-
-
Notifications
You must be signed in to change notification settings - Fork 22
chore: migrate to Corepack-managed Yarn 4 #812
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
Changes from all commits
4698fa7
6daa829
9be1bd8
3a7e1fe
c4b83e6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| 22.12.0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| nodeLinker: node-modules |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,7 +2,8 @@ | |
| "rewrites": [ | ||
| { "source": "/(.*)", "destination": "/index.html" } | ||
| ], | ||
| "buildCommand": "yarn build", | ||
| "installCommand": "corepack yarn install --immutable", | ||
| "buildCommand": "corepack yarn build", | ||
|
Comment on lines
+5
to
+6
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🌐 Web query:
💡 Result: Yes—Vercel supports using Corepack for Yarn, but it’s treated as experimental and must be explicitly enabled.
Sources: [1][2][3] Environment variable required for Corepack to work on Vercel. While Vercel supports Corepack, it's treated as experimental and requires explicit enablement. The Verify that both the environment variable and 🤖 Prompt for AI Agents |
||
| "outputDirectory": "build", | ||
| "framework": "vite" | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Inconsistency: Windows job omits
--ignore-engines.Other jobs (Linux at line 33, Mac at line 94, Android at line 182, finalize-release at line 225) use
--ignore-engines, but the Windows job does not. This could cause failures if engine constraints don't match on Windows runners.🛠️ Proposed fix for consistency
- run: corepack enable - name: Install dependencies (with Node v22) - run: yarn install --immutable + run: yarn install --immutable --ignore-engines📝 Committable suggestion
🤖 Prompt for AI Agents