pnpm / pnpm/action-setup

Adding `+` to version prevents checkout

Open
#140 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.3k
Forks
217
Avg merge
8h 42m
Merged PRs (30d)
1

Description

When the packageManager version is defined in a corepack compatible way, e.g. pnpm:9.5.0+ the action checkout fails with

ERR_PNPM_SPEC_NOT_SUPPORTED_BY_ANY_RESOLVER  pnpm@9.5.0+ isn't supported by any available resolver.

It would be good to support + range specifier to:

  1. Allow devs use any compatible PNPM version (e.g. latest)
  2. Make action checkout work with define one 9.5.0

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the checkout failure with a packageManager value such as pnpm:9.5.0+, then trace the action's version parsing and installation entry point. Done means the + range specifier is accepted and checkout succeeds with a compatible pnpm version.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, typescript
Domain
ci-cd, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.