Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 17, 2026

CI failing on Node.js 18 after Next.js 16 upgrade. Next.js 16 requires Node.js ≥20.9.0.

Changes

  • CI workflow: Remove Node.js 18 from test matrix, retain 20 and 22
  • package.json: Add engines field to enforce Node.js ≥20.9.0 and npm ≥10.0.0

Context

# Before
strategy:
  matrix:
    node-version: [18, 20, 22]

# After
strategy:
  matrix:
    node-version: [20, 22]
{
  "engines": {
    "node": ">=20.9.0",
    "npm": ">=10.0.0"
  }
}

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

@vercel
Copy link
Contributor

vercel bot commented Jan 17, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
code-storm Ready Ready Preview, Comment Jan 17, 2026 11:59pm

Co-authored-by: rezwana-karim <126201034+rezwana-karim@users.noreply.github.com>
Copilot AI changed the title [WIP] Bump the npm_and_yarn group with 2 updates Fix CI workflow for Next.js 16 Node.js requirement Jan 18, 2026
Copilot AI requested a review from rezwana-karim January 18, 2026 00:04
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