Skip to content

bug: Cache restore failure in v4.3.0 #207

@brionmario

Description

@brionmario

Our CI pipelines suddenly started failing after v4.3.0 of pnpm/action-setup was released with the following error during the cache restore step:

Restoring cache...
/home/runner/setup-pnpm/node_modules/.bin/pnpm store path --silent
/home/runner/setup-pnpm/node_modules/.bin/store/v10
Error: Some specified paths were not resolved, unable to cache dependencies.

Pinning the action to v4.2.0 resolves the issue, and the workflow runs successfully again.

- name: 📦 Install pnpm
  uses: pnpm/action-setup@v4.2.0
  with:
    version: "latest"
    run_install: false
    cache_dependency_path: frontend/pnpm-lock.yaml

This workflow has been working reliably prior to v4.3.0, so this appears to be related to the latest release.

Are we using the action incorrectly here, or could this be a regression introduced in v4.3.0?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions