Comments (13)
I came here to ask about this very thing -- I was confused as to why this GitHub Action suggests specifying an exact (X.Y.Z) version (currently pnpm/[email protected]
, with one exception*), when most GitHub Actions seem to suggest specifying only the major version, e.g. actions/checkout@v3
.
Would it be difficult to start tagging releases with v2
in addition to e.g. v2.2.4? (Hopefully I'm correct in assuming that would resolve this issue)
Edit: upon further reflection, there is a certain brilliance to asking people to use pnpm/[email protected]
-- that way, every time they look at their GitHub Actions and see it, they'll think: "Huh, I wonder if there's a new patch version of pnpm/action-setup
... I'd better pop over and see, and while I'm at it, have a cup of tea and catch up with those wonderful folks that maintain it. Oh, and I might as well see if I can contribute in some way, I'll take a look at the open Issues & PRs, why not! 🫖🙋💭"
*: While I was poking around, noticed one of the three was out of sync: #64
from action-setup.
What do you think about editing the examples to use pnpm/action-setup@v2
?
/cc @zkochan
from action-setup.
@mrienstra I see. It seems @zkochan forgot to update v2
when he published v2.2.4
. Anyway, v2
is up-to-date now.
from action-setup.
There's already a v2
branch.
from action-setup.
I see, thanks @KSXGitHub! However, as a user it would be great to have a "stable" major tag which is only updated when there is a new release. As it is done with the checkout action, for example.
from action-setup.
We don't frequently release new versions, so I don't really see the point.
from action-setup.
Just a stupid question: I'm using "pnpm/action-setup@v2" and that means I'm not using the latest one? :O
from action-setup.
@pitgrap You are using the latest one.
from action-setup.
@KSXGitHub, I think v2
is currently even with v2.2.3
, so slight behind v2.2.4
:
(but maybe I'm missing something)
from action-setup.
There are two parts to this issue:
v2
should be kept current: it sounds like this is the intention and generally the case, so it seems like that part of this issue has been resolved for now.- Changing README to show
pnpm/action-setup@v2
(drop minor & patch version numbers): where did we land on this? Personally, I think it would reduce confusion. But if the official word is "not changing at this time", then I think this issue can be closed.
from action-setup.
@mrienstra I don't object your second point.
from action-setup.
Optimistically opened a PR. :)
from action-setup.
Thank you, guys!
from action-setup.
Related Issues (20)
- Build script fails with "Cannot augment module '_' with value exports because it resolves to a non-module entity."
- Duplicate message in error: in the package.json with the key "packageManager" HOT 1
- How does this compare to `run: corepack enable`? HOT 10
- `dest` not working HOT 1
- Could not read from remote repository due to renamed organization
- ENOENT: no such file or directory during self-install HOT 6
- Add support for `volta.pnpm` field HOT 1
- Update to Node.js v20 HOT 1
- should upgrade node16 to node20 HOT 1
- The action breaks the container environment in the openSUSE HOT 1
- Make `version` optional HOT 2
- The version of pnpm is not being retrieved from the packageManager field in the package.json. HOT 6
- How to cache pnpm ? HOT 1
- README references old versions of pnpm
- Installing pnpm when the package.json isn't in the root directory HOT 3
- Enable Code Scanning & Address Code Quality Issues HOT 4
- `v2` not up to date HOT 5
- Invalid
- EACCES: permission denied when running in a container w/ non-default user
- node20 support HOT 18
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from action-setup.