Feature request - skip if pnpm already installed
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.3k
- Forks
- 217
- Avg merge
- 8h 42m
- Merged PRs (30d)
- 1
Description
Does it make sense to have a "skip-if-present" parameter in case an enclosing script had already installed pnpm?
Example: https://github.com/ivelin/ens-app-v3/actions/runs/17217706776
Current workaround:
# - name: Set up pnpm
# uses: pnpm/action-setup@v4
# with:
# version: 9
- name: Install pnpm
shell: bash
run: |
if ! command -v pnpm > /dev/null 2>&1; then
npm install -g pnpm
fi
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names pnpm/action-setup and a YAML with configuration. Start by tracing how action inputs are read and how pnpm installation is invoked; done means an input can skip installation when pnpm is already available while normal installation remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, typescript
- Domain
- ci-cd
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100