Skip to content

Partial cache re-use on pnpm install --frozen-lockfile #153

Open
@samuelfullerthomas

Description

@samuelfullerthomas

👋 I have an issue using this action with the following github action setup

runs:
    using: composite
    steps:
        - name: Install pnpm
          uses: pnpm/action-setup@4 # v4
        - name: Install Node & NPM
          uses: actions/setup-node@4 # v4
          with:
              node-version-file: '.nvmrc'
              cache: 'pnpm'
        - name: Install dependencies
          shell: bash
          run: pnpm install --frozen-lockfile

The issue is the cache is restored but it isn't fully re-used.

When the installation happening, I see only about half of the packages. are reused:

Screenshot 2024-12-20 at 15 07 01

Progress: resolved 2359, reused 1037, downloaded 141, added 1171

Locally, all the packages are reusued.

What could be causing this? how can I debug it?

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