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 option to use latest pnpm #25

Closed
ai opened this issue Dec 16, 2021 · 4 comments · Fixed by #26
Closed

Add option to use latest pnpm #25

ai opened this issue Dec 16, 2021 · 4 comments · Fixed by #26
Labels
documentation Improvements or additions to documentation

Comments

@ai
Copy link
Contributor

ai commented Dec 16, 2021

I want an option or version value to use latest pnpm version.

    - uses: pnpm/action-setup@v2
      with:
        version: latest

Motivation

I have many open source projects and it is hard to update pnpm in all of them.

Side Effect

I understand that some projects need repeatability for CI. So latest will not fit their use case. But my projects are small and for my case repeatability is not so important compare to maintainability.

We can promote exact version in docs and keep latest only for people who need it.

@KSXGitHub
Copy link
Collaborator

Shouldn't it already be possible? Can you check it again?

@ai
Copy link
Contributor Author

ai commented Dec 16, 2021

Yeap. It works :D

https://github.com/browserslist/browserslist/runs/4547570018

Should we add a small note to version option?

@KSXGitHub
Copy link
Collaborator

I'm busy right now, so a pull request is welcomed. Also, it should support semver, can you please check it as well while we are at it?

@KSXGitHub KSXGitHub added the documentation Improvements or additions to documentation label Dec 16, 2021
@ai
Copy link
Contributor Author

ai commented Dec 16, 2021

Sure. I will check 6 and 6.4 options and then will send PR.

Thanks for quick replies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants