pnpm / pnpm/setup

runtime does not seems to be installed in PATH

Open
#19 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
140
Forks
19
Avg merge
13h 19m
Merged PRs (30d)
3

Description

Hi 👋

Installed runtime does not seems to be available in the PATH.
Even if I asked node 26 in devEngines and it has been properly downloaded

package.json

"devEngines": {
    "runtime": {
      "name": "node",
      "version": "24.18.x || 26.x",
      "onFail": "error"
    }
  },
jobs:
  build:
    runs-on: ubuntu-24.04
    steps:
      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
      - uses: pnpm/setup@v1
        with:
          install: false
      - run: node --version 
      - run: pnpm --version

You can find a reproduction pipeline and project here
Reproduction pipeline:
https://github.com/chambo-e/pnpm-setup-repro/actions/runs/31082412856/job/92554026303

Thanks :)

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 with the reproduction workflow and its package.json devEngines configuration, then inspect how pnpm/setup handles the downloaded runtime before the node --version step. Verify the runtime is available on PATH after setup and confirm the reproduction workflow can run both node --version and pnpm --version successfully.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.