Skip to content

Conversation

@wojtekmaj
Copy link
Contributor

@wojtekmaj wojtekmaj commented Jan 30, 2026

Note

This PR has an alternative: #455

Following Node.js decision not to include Corepack in future versions of Node.js, to prevent any surprises and benefit from potential fixes in Corepack, I suggest we install the latest version of Corepack explicitly on CI instead of just hoping it's there.

Following Node.js decision not to include Corepack in future versions of Node.js, to prevent any surprises and benefit from potential fixes in Corepack, I suggest we install the latest version of Corepack explicitly on CI instead of just hoping it's there.
Copilot AI review requested due to automatic review settings January 30, 2026 23:57
@vercel
Copy link

vercel bot commented Jan 30, 2026

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

Project Deployment Actions Updated (UTC)
npmx.dev Ready Ready Preview, Comment Jan 30, 2026 11:59pm
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
docs.npmx.dev Ignored Ignored Preview Jan 30, 2026 11:59pm
npmx-lunaria Ignored Ignored Jan 30, 2026 11:59pm

Request Review

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates CI workflows to explicitly install Corepack via npm, anticipating future Node.js versions that no longer bundle Corepack by default and aiming to keep package manager tooling stable on CI.

Changes:

  • Replace direct corepack enable calls with an explicit Install Corepack step in the main CI workflow.
  • Apply the same explicit Corepack installation pattern to the Lunaria workflow.
  • Apply the same explicit Corepack installation pattern to the autofix workflow.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 6 comments.

File Description
.github/workflows/lunaria.yml Adds a named step to install Corepack before setting up Node and running pnpm for the Lunaria overview job.
.github/workflows/ci.yml Adds named steps to install Corepack before Node setup in all CI jobs (lint, test, browser, a11y, knip) that rely on pnpm.
.github/workflows/autofix.yml Adds a named step to install Corepack before Node setup in the autofix workflow, which also uses pnpm.

@wojtekmaj wojtekmaj changed the title chore: explicitly install Corepack in CI chore(ci): explicitly install Corepack in CI Jan 31, 2026
@wojtekmaj wojtekmaj changed the title chore(ci): explicitly install Corepack in CI chore: explicitly install Corepack in CI Jan 31, 2026
@serhalp
Copy link
Collaborator

serhalp commented Jan 31, 2026

merging #455, thank you!

@serhalp serhalp closed this Jan 31, 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