Skip to content

fix: use pnpm list -g --json for version detection - #13

Merged
mayurrawte merged 2 commits into
masterfrom
fix/pnpm-version-detection
May 21, 2026
Merged

mayurrawte merged 2 commits into
masterfrom
fix/pnpm-version-detection

Conversation

@mayurrawte

Copy link
Copy Markdown
Owner

pnpm root -g returns the pnpm virtual store path which doesn't contain the package.json at a predictable location when using pnpm/action-setup@v4. pnpm list -g --json returns the installed version directly — no disk path juggling needed.

@mayurrawte
mayurrawte merged commit e4678e9 into master May 21, 2026
26 checks passed
@mayurrawte
mayurrawte deleted the fix/pnpm-version-detection branch May 21, 2026 08:49
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

Successfully merging this pull request may close these issues.

1 participant