Skip to content

ci: drop pnpm cache from release workflow#6

Merged
mergify[bot] merged 1 commit into
mainfrom
devs/alexandregaubert/fix-release-workflow-pnpm-cache
May 26, 2026
Merged

ci: drop pnpm cache from release workflow#6
mergify[bot] merged 1 commit into
mainfrom
devs/alexandregaubert/fix-release-workflow-pnpm-cache

Conversation

@AlexandreGaubert
Copy link
Copy Markdown
Collaborator

Summary

The Publish to npm release workflow failed on the 0.1.0 release (run) at the actions/setup-node step:

Dependencies lock file is not found ... Supported file patterns: pnpm-lock.yaml

cache: pnpm requires a pnpm-lock.yaml to compute the cache key, but this package has no dependencies and no lockfile (it only ships SVGs). The step fails before reaching pnpm publish, so the release never published to npm — this is why the OIDC release path had never actually worked (it had never been exercised until 0.1.0).

The workflow only runs pnpm publish (no pnpm install), so there's nothing to cache. This drops the cache: pnpm option.

After merge

Re-cut the 0.1.0 release from the fixed main (the existing 0.1.0 tag points at the pre-fix commit, and release events run the workflow from the tag's commit — so it must be recreated after this lands). npm is still at 0.0.0, so reusing 0.1.0 is safe.

🤖 Generated with Claude Code

`actions/setup-node` with `cache: pnpm` requires a `pnpm-lock.yaml` to
compute the cache key, but this package has no dependencies and ships
no lockfile — so the step failed ("Dependencies lock file is not
found") before reaching `pnpm publish`, which is why the 0.1.0 release
run never published to npm.

The workflow only runs `pnpm publish` (no install), so there's nothing
to cache. Remove the cache option.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 26, 2026 13:40
@mergify mergify Bot requested a review from a team May 26, 2026 13:40
@mergify mergify Bot deployed to Mergify Merge Protections May 26, 2026 13:40 Active
@mergify
Copy link
Copy Markdown

mergify Bot commented May 26, 2026

Merge Protections

Your pull request matches the following merge protections and will not be merged until they are valid.

🟢 Approval

Wonderful, this rule succeeded.
  • #approved-reviews-by >= 2

🟢 Enforce conventional commit

Wonderful, this rule succeeded.

Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/

  • title ~= ^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert|ui)(?:\(.+\))?:

🟢 🔎 Reviews

Wonderful, this rule succeeded.
  • #changes-requested-reviews-by = 0
  • #review-requested = 0
  • #review-threads-unresolved = 0

🟢 📕 PR description

Wonderful, this rule succeeded.
  • body ~= (?ms:.{48,})

Copy link
Copy Markdown

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

Fixes the npm release workflow failure by removing actions/setup-node’s pnpm cache configuration, which currently hard-fails because the repo has no pnpm-lock.yaml and the workflow doesn’t run pnpm install anyway.

Changes:

  • Remove cache: pnpm from the release workflow’s actions/setup-node step to prevent cache-key computation failures when no lockfile exists.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mergify
Copy link
Copy Markdown

mergify Bot commented May 26, 2026

Merge Queue Status

  • Entered queue2026-05-26 15:03 UTC · Rule: default
  • Checks skipped · PR is already up-to-date
  • Merged2026-05-26 15:03 UTC · at 77e48822e9f722221550e1286960707e2ef34537 · squash

This pull request spent 19 seconds in the queue, including 4 seconds running CI.

Required conditions to merge

@mergify mergify Bot added the queued label May 26, 2026
@mergify mergify Bot merged commit 5c18932 into main May 26, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

4 participants