Skip to content

action-setup@v6 does not take the requested pnpm version into account #225

Open

Description

@HRAshton

It always installs pnpm v11

Repro: https://github.com/HRAshton/playground/actions/runs/24282365140/job/70906144585

Run pnpm/action-setup@v6
  with:
    version: 10
    dest: ~/setup-pnpm
    run_install: null
    cache: false
    cache_dependency_path: pnpm-lock.yaml
    package_json_file: package.json
    standalone: false
Running self-installer...
  added 5 packages, and audited 6 packages in 3s
  2 packages are looking for funding
    run `npm fund` for details
  found 0 vulnerabilities
  .../.bin/global/v11/8d4-19d7c7dadb0      | Progress: resolved 1, reused 0, downloaded 0, added 0
  .../.bin/global/v11/8d4-19d7c7dadb0      |   +2 +
  .../.bin/global/v11/8d4-19d7c7dadb0      | Progress: resolved 2, reused 0, downloaded 2, added 2, done
Installation Completed!
--
Run pnpm --version
  
11.0.0-beta.4-1

Activity

  1. laat commented on Apr 11, 2026

    @laat

    This solved it for me.

    -      - uses: pnpm/action-setup@v6
    +      - uses: pnpm/action-setup@2e223e0f0d2b8fd9872cbadb8b7428e5f8b5556d # v6
  2. added a commit that references this issue on Apr 11, 2026
  3. sondr3 commented on Apr 13, 2026

    @sondr3

    @laat that's not really a solution, you might as well pin it to v5 at that point as that commit is the commit after v5 with no functional changes to the action itself.

  4. laat commented on Apr 13, 2026

    @laat

    @laat that's not really a solution, you might as well pin it to v5 at that point as that commit is the commit after v5 with no functional changes to the action itself.

    Obviously...

  5. sondr3 commented on Apr 13, 2026

    @sondr3

    @laat that's not really a solution, you might as well pin it to v5 at that point as that commit is the commit after v5 with no functional changes to the action itself.

    Obviously...

    My point was that

    -      - uses: pnpm/action-setup@v6
    +      - uses: pnpm/action-setup@2e223e0f0d2b8fd9872cbadb8b7428e5f8b5556d # v6

    is not v6, so users seeing this suggestion might get the wrong impression that using that hash will get them both a fix and v6, which it won't 🙂

  6. 103 remaining items

  7. StyleShit commented on Apr 26, 2026

    @StyleShit

    This is now fixed for me, probably thanks to #230

  8. added a commit that references this issue on May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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