Skip to content

Upgrade to Node 20 and Yarn 4 for glob@11.0.3 compatibility - #3

Closed
surajgov-quizizz with Copilot wants to merge 3 commits into
mainfrom
copilot/update-node-version-in-package-json
Closed

Upgrade to Node 20 and Yarn 4 for glob@11.0.3 compatibility#3
surajgov-quizizz with Copilot wants to merge 3 commits into
mainfrom
copilot/update-node-version-in-package-json

Conversation

Copilot AI commented Feb 5, 2026

Copy link
Copy Markdown

glob@11.0.3 requires Node "20 || >=22" but the project was configured for Node 16.20.2. Additionally, Yarn 4 requires Corepack to be enabled in CI environments.

Changes

  • Node version: 16 → 20

    • package.json engines field
    • .nvmrc
    • All GitHub workflow matrices (9 jobs across 3 files)
  • Yarn version: 1.22.22 → 4.5.3

    • package.json packageManager field
    • Added corepack enable step to all workflow jobs that execute yarn commands

Corepack is bundled with Node.js 16.9+ and manages package manager versions based on the packageManager field. The enable step must run after Node setup and before any yarn commands.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: surajgov-quizizz <171560055+surajgov-quizizz@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix incompatible node version in package.json Upgrade Node from 16 to 20 for glob@11.0.3 compatibility Feb 5, 2026
Co-authored-by: surajgov-quizizz <171560055+surajgov-quizizz@users.noreply.github.com>
Copilot AI changed the title Upgrade Node from 16 to 20 for glob@11.0.3 compatibility Upgrade to Node 20 and Yarn 4 for glob@11.0.3 compatibility Feb 5, 2026
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