Skip to content

fix(ci): ensure package-manager caches exist - W-24887043 - #210

Merged
peternhale merged 6 commits into
mainfrom
fix/W-24887043-automerge-cache-input
Nov 12, 2026
Merged

peternhale merged 6 commits into
mainfrom
fix/W-24887043-automerge-cache-input

Conversation

@peternhale

@peternhale peternhale commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

What issues does this PR fix or reference?

@W-24887043@

What is the change?

Add a composite action that creates the selected npm, pnpm, or Yarn cache directory before actions/setup-node saves it.

Reuse it in the Dependabot automerge workflow and CTC-open action. These are the two cache-enabled paths that can complete without installing dependencies for the selected package manager.

Why is this change needed?

On a fresh runner, pnpm reports its store location without creating it. If no pnpm install runs, the setup-node post-job cache save fails because that path is absent.

Test plan

@iowillhoit iowillhoit left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Just update the branch refs to @main first

@peternhale
peternhale merged commit bb508b5 into main Nov 12, 2026
2 checks passed
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