Skip to content

fix(ci): avoid missing pnpm cache in release jobs#153

Merged
ZR233 merged 1 commit into
mainfrom
codex/fix-release-pnpm-cache
Jul 17, 2026
Merged

fix(ci): avoid missing pnpm cache in release jobs#153
ZR233 merged 1 commit into
mainfrom
codex/fix-release-pnpm-cache

Conversation

@ZR233

@ZR233 ZR233 commented Jul 17, 2026

Copy link
Copy Markdown
Member

Summary

  • remove pnpm caching from the shared actions/setup-node step in the Release workflow
  • keep the existing Node.js and pnpm setup available for release packaging

Root cause

The release-plz steps completed successfully, but both jobs failed during Post Setup Node.js. The workflow configured pnpm caching without running pnpm in release-PR-only executions, so the expected store directory did not exist and setup-node failed while saving the cache.

Impact

Release and release-PR jobs no longer fail during post-job cleanup when no pnpm store was created.

Validation

  • git diff --check
  • local assertions confirm the cache fields are removed while the Node.js setup and YAML anchor reuse remain intact

actionlint was not available in the local environment.

@ZR233
ZR233 marked this pull request as ready for review July 17, 2026 01:27
@ZR233
ZR233 merged commit 94d207d into main Jul 17, 2026
2 checks passed
@ZR233
ZR233 deleted the codex/fix-release-pnpm-cache branch July 17, 2026 01:47
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