Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 25, 2026

CI was failing because package.json specifies pnpm@10.28.1 while all workflows used 10.28.0, triggering ERR_PNPM_BAD_PM_VERSION in pnpm/action-setup@v4.

Changes

Updated pnpm version to 10.28.1 in:

  • .github/workflows/ci.yml (test and build jobs)
  • .github/workflows/lint.yml (typecheck job)
  • .github/workflows/validate-deps.yml (validate job)
  • .github/workflows/pr-automation.yml (changeset-check job)

All workflow files now align with the packageManager field in package.json.

Original prompt

引用: https://github.com/objectstack-ai/spec/actions/runs/21325209448/job/61381136149#step:4:1


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@vercel
Copy link

vercel bot commented Jan 25, 2026

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

Project Deployment Review Updated (UTC)
spec Ready Ready Preview, Comment Jan 25, 2026 2:51am

Request Review

Copilot AI and others added 2 commits January 25, 2026 02:47
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix action step issue in GitHub workflow Fix pnpm version mismatch in GitHub Actions workflows Jan 25, 2026
Copilot AI requested a review from hotlong January 25, 2026 02:51
@hotlong hotlong marked this pull request as ready for review January 25, 2026 02:51
Copilot AI review requested due to automatic review settings January 25, 2026 02:51
@hotlong hotlong merged commit 9a30e52 into main Jan 25, 2026
5 checks passed
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

Aligns GitHub Actions workflows’ pnpm version with the repository’s packageManager setting to prevent CI failures caused by ERR_PNPM_BAD_PM_VERSION.

Changes:

  • Updated pnpm/action-setup@v4 version from 10.28.0 to 10.28.1 across CI, lint/typecheck, dependency validation, and PR automation workflows.
  • Ensures workflow pnpm version matches package.json (pnpm@10.28.1).

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
.github/workflows/ci.yml Updates pnpm version for both test and build jobs to match packageManager.
.github/workflows/lint.yml Updates pnpm version in the typecheck job to match packageManager.
.github/workflows/validate-deps.yml Updates pnpm version in dependency validation workflow to match packageManager.
.github/workflows/pr-automation.yml Updates pnpm version in changeset-check job to match packageManager.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants