Skip to content

ci: drop the pnpm version pin from the publish job - #118

Merged
JohnMcLear merged 1 commit into
mainfrom
ci/drop-pnpm-pin
Sep 22, 2026
Merged

JohnMcLear merged 1 commit into
mainfrom
ci/drop-pnpm-pin

Conversation

@JohnMcLear

Copy link
Copy Markdown
Member

Publishing is blocked in this repo. The publish job checks out Etherpad core into the workspace, and core now pins packageManager: pnpm@12.4.2. Because this workflow also sets version: 10 on pnpm/action-setup, the action refuses to start:

Error: Multiple versions of pnpm specified:
  - version 10 in the GitHub Action config with the key "version"
  - version pnpm@12.4.2 in the package.json with the key "packageManager"

Only this repo and one other still carry that input; the other ~75 plugin publish workflows have no version: and follow core's pin. Dropping it here matches them.

🤖 Generated with Claude Code

https://claude.ai/code/session_013S4pYSjwUsiZtdtMMpW7bw

The publish job checks out Etherpad core into the workspace, and core now
pins `packageManager: pnpm@12.4.2`. With `version: 10` also set on
pnpm/action-setup the action refuses to start:

    Error: Multiple versions of pnpm specified:
      - version 10 in the GitHub Action config with the key "version"
      - version pnpm@12.4.2 in the package.json with the key "packageManager"

Dropping the input lets the action follow core's pin, which is what the
other ~75 plugin publish workflows already do.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013S4pYSjwUsiZtdtMMpW7bw
@qodo-code-review

Copy link
Copy Markdown

ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

PR Summary by Qodo

Restore publishing by using Etherpad core's pnpm version

🐞 Bug fix ⚙️ Configuration changes 🕐 Less than 5 minutes

Grey Divider

AI Description

• Removes the conflicting pnpm 10 pin from the npm publish workflow.
• Lets pnpm setup follow Etherpad core’s package manager version.
High-Level Assessment

Removing the workflow pin is optimal because Etherpad core already provides the authoritative pnpm version. Updating the workflow to pnpm 12.4.2 would duplicate configuration and risk future version drift.

Files changed (1) +0 / -1

Bug fix (1) +0 / -1
npmpublish.ymlRemove conflicting pnpm version pin +0/-1

Remove conflicting pnpm version pin

• Removes the explicit pnpm 10 input from the publish job. The setup action now follows Etherpad core’s packageManager pin, preventing the multiple-version startup error.

.github/workflows/npmpublish.yml

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

Tip of the day
💡 Did you know, you can add REVIEW.md to your repo root and Qodo follows it on every PR

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

@JohnMcLear
JohnMcLear merged commit ba23936 into main Sep 22, 2026
4 checks passed
@JohnMcLear
JohnMcLear deleted the ci/drop-pnpm-pin branch September 22, 2026 06:58
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.

1 participant