Skip to content

ci: drop hard-pinned pnpm version in docgen workflows#168

Merged
ernestognw merged 1 commit into
mainfrom
fix/pnpm-version-drift
May 15, 2026
Merged

ci: drop hard-pinned pnpm version in docgen workflows#168
ernestognw merged 1 commit into
mainfrom
fix/pnpm-version-drift

Conversation

@ernestognw
Copy link
Copy Markdown
Member

Summary

  • The three generate-api-docs-*.yml workflows hard-pin pnpm/action-setup@v4 to version: 10.17.1, but chore: pin pnpm to 11.1.0 + 7-day minimumReleaseAge #165 bumped package.json#packageManager to pnpm@11.1.0. The setup action enforces consistency between the two and fails with ERR_PNPM_BAD_PM_VERSION (see run 25941406850).
  • Removing the version: input lets the action resolve the version from package.json#packageManager, matching what lint.yml already does. Future pnpm bumps via package.json won't require touching workflow files.

Test plan

  • Re-run Generate API Docs - Community Contracts via workflow_dispatch on this branch; confirm the Setup pnpm step succeeds.
  • Re-run Generate API Docs - Contracts and Generate API Docs - Confidential Contracts to verify the same.

🤖 Generated with Claude Code

Let pnpm/action-setup@v4 resolve the version from package.json#packageManager
so workflows don't drift when the package manager pin is bumped.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@ernestognw ernestognw requested a review from stevep0z as a code owner May 15, 2026 21:18
@netlify
Copy link
Copy Markdown

netlify Bot commented May 15, 2026

Deploy Preview for openzeppelin-docs-v2 ready!

Name Link
🔨 Latest commit 23a8c8a
🔍 Latest deploy log https://app.netlify.com/projects/openzeppelin-docs-v2/deploys/6a078dab170f670008ad755a
😎 Deploy Preview https://deploy-preview-168--openzeppelin-docs-v2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Collaborator

@stevep0z stevep0z left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks @ernestognw !

@ernestognw ernestognw merged commit 3f4d3bd into main May 15, 2026
11 checks passed
@ernestognw ernestognw deleted the fix/pnpm-version-drift branch May 15, 2026 21:48
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