pnpm / pnpm/action-setup

[Question] How does this compare to `npm i -g pnpm`?

Open
#30 2 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

Out of curiosity, are there any non-syntax/usability benefits to using this action over doing an install with npm?:

npm i -g pnpm@5
pnpm i --frozen-lockfile # Or `npx pnpm ...`

Or npx?:

npx pnpm@5 i --frozen-lockfile

In the case with npx, I'm thinking the benefit is simply that pnpm can be used multiple times without re-installing.

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 comparison in issue #30, including the npm i -g pnpm@5 and npx pnpm@5 commands, and review the action's documented behavior. Document the practical differences and identify when using the action is preferable; the issue is complete when those alternatives are clearly compared.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, node.js
Domain
ci-cd, tooling
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.