Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for pnpm/action-setup with version: updates #34767

Open
rarkins opened this issue Mar 12, 2025 · 1 comment · May be fixed by #34791
Open

Add support for pnpm/action-setup with version: updates #34767

rarkins opened this issue Mar 12, 2025 · 1 comment · May be fixed by #34791
Labels
manager:github-actions Github actions manager priority-3-medium Default priority, "should be done" but isn't prioritised ahead of others

Comments

@rarkins
Copy link
Collaborator

rarkins commented Mar 12, 2025

Discussed in #34724

Originally posted by alexfaxe March 10, 2025

Tell us more.

Similar to the recent feature addition done in #34658

The github-actions manager should be updated to extract the version value when using pnpm/action-setup.

Example syntax:

- name: Setup pnpm
      uses: pnpm/action-setup@v4
      with:
        version: 10.6.1
```</div>


Use datasource=npm and packageName=pnpm
@rarkins rarkins added manager:github-actions Github actions manager priority-3-medium Default priority, "should be done" but isn't prioritised ahead of others labels Mar 12, 2025
@viceice
Copy link
Member

viceice commented Mar 12, 2025

workaround: configure pnpm version inside packageManager field of package.json and let the action read the version from there.

- name: Setup pnpm
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
with:
standalone: true

@trim21 trim21 linked a pull request Mar 21, 2025 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
manager:github-actions Github actions manager priority-3-medium Default priority, "should be done" but isn't prioritised ahead of others
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants