Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
samuelfullerthomas opened this issue Dec 20, 2024 · 0 comments
Open

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

samuelfullerthomas opened this issue Dec 20, 2024 · 0 comments

Comments

@samuelfullerthomas
Copy link

samuelfullerthomas commented Dec 20, 2024

👋 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?

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

No branches or pull requests

1 participant