pnpm / pnpm/action-setup

Feature request - skip if pnpm already installed

Open
#176 0 comments 4 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

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

  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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.