Skip to content

ci: migrate to pnpm/setup - #566

Merged
antfu merged 1 commit into
mainfrom
fix/ci-pnpm-setup
Sep 10, 2026
Merged

ci: migrate to pnpm/setup#566
antfu merged 1 commit into
mainfrom
fix/ci-pnpm-setup

Conversation

@webfansplz

Copy link
Copy Markdown
Member

Windows CI breaks when pnpm/action-setup switches to pnpm 12 and leaves a broken launcher.

Use pnpm/setup to install the native binary directly, keeping the rest of the CI flow unchanged.

Copilot AI lite review requested due to automatic review settings September 8, 2026 08:26
@webfansplz webfansplz changed the title ci: migrate to pnpm/setup ci: migrate to pnpm/setup Sep 8, 2026
@pkg-pr-new

pkg-pr-new Bot commented Sep 8, 2026

Copy link
Copy Markdown

Open in StackBlitz

@vitejs/devtools

npm i https://pkg.pr.new/@vitejs/devtools@566

@vitejs/devtools-kit

npm i https://pkg.pr.new/@vitejs/devtools-kit@566

@vitejs/devtools-oxc

npm i https://pkg.pr.new/@vitejs/devtools-oxc@566

@vitejs/devtools-rolldown

npm i https://pkg.pr.new/@vitejs/devtools-rolldown@566

@vitejs/devtools-vite

npm i https://pkg.pr.new/@vitejs/devtools-vite@566

@vitejs/devtools-vitest

npm i https://pkg.pr.new/@vitejs/devtools-vitest@566

commit: 200e15c

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The workflow changes are straightforward, YAML structure is valid, and pnpm/setup inputs used (install: false) match the action’s supported interface.

Pull request overview

Updates the repository’s GitHub Actions CI to use pnpm/setup (native pnpm binary) instead of pnpm/action-setup, addressing Windows breakage while keeping the existing install/run flow (via nci / nr) intact.

Changes:

  • Migrate CI workflow steps from pnpm/action-setup to pinned pnpm/setup with install: false.
  • Add the Knip step to the source workflow (.github/workflows/src/ci.yml) as a non-blocking check.
  • Add “generated by actionspack” headers to generated workflows/lockfile and update the actionspack lock entries accordingly.
File summaries
File Description
.github/workflows/src/ci.yml Switches pnpm installer to pnpm/setup and ensures the Knip step is present in the source workflow.
.github/workflows/ci.yml Regenerated CI workflow reflecting pnpm/setup usage and updated generated-file header formatting.
.github/workflows/release.yml Adds actionspack generated-file header.
.github/workflows/release-commit.yml Adds actionspack generated-file header.
.github/workflow.lock.yml Updates locked dependencies to include pnpm/setup and adds generated-file header.
Review details
  • Files reviewed: 5/5 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@grbbs6s86p-hue

Copy link
Copy Markdown

Windows CI breaks when pnpm/action-setup switches to pnpm 12 and leaves a broken launcher.

Use pnpm/setup to install the native binary directly, keeping the rest of the CI flow unchanged.

@antfu
antfu merged commit 8963705 into main Sep 10, 2026
11 checks passed
@antfu
antfu deleted the fix/ci-pnpm-setup branch September 10, 2026 00:44
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.

4 participants