-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
feat: add support for current
and latest
aliases
#279
Conversation
I'd like to request that 'latest' also be supported, however even without it this would be great to have! Thank you for making the PR |
current
aliascurrent
and latest
aliases
Done! 👍 |
Dowload ? |
From #278 (comment)
Could you review this PR and maybe include it in the next release if possible and everything is good to go, please ? 😄 @maxim-lobanov |
any chance to merge this? |
Hi, |
Thanks for your interest. @Kikobeats and @demurgos I'm happy to continue to work on this PR if it's needed. |
Hello @divlo. Thank you for your pull request. Could please attach link to the documentation for the |
Updated README and resolved the conflicts. 👍 |
Latest is also used in the dists:
https://nodejs.org/dist/latest/
…On Tue 18 Jan 2022, 15:21 Divlo, ***@***.***> wrote:
Hello @divlo <https://github.com/Divlo>. Thank you for your pull request.
Could please attach link to the documentation for the current alias ? If
I understood well, it should install the latest (lts/non lts) version ? My
main concern is about that the latest alias is more obvious.
Updated README and resolved the conflicts. 👍
Yes, it installs the latest Node.js version (for example currently it is
v17.3.1).
The latest alias might be more obvious but the real name is current as
you can see on the Node.js website <https://nodejs.org/>.
[image: image]
<https://user-images.githubusercontent.com/25207499/149944317-cc2de4ef-67e8-499c-bc52-5a66435010b9.png>
—
Reply to this email directly, view it on GitHub
<#279 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHZOBZ422J4N6HGDOF46GDUWVSMVANCNFSM47UQCZLA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Just a memory dump of prior art:
I'd argue |
Could it be that the two would exists ? "current" and "latest" being synonyms ? |
My thinking is that "latest" can be misleading, esp. in the context of there being "latest in a release line", "latest LTS", etc. I'd rather have I could be wrong in my thinking, of course. I'll try to dig out some more discussion threads about this for reference. |
I guess a lot of threads can be followed from nodejs/package-maintenance#236 I do have to admit, that I have an issue open on |
@dmitry-shibanov Friendly ping. 😄 What is needed to merge this PR? |
so does actions/setup-node support |
@bluelovers Does |
nvm , travis ci use |
This PR has no recent activity, and probably won't be merged for a long time and as I don't want/have time to do the job for this PR, I decided to close it. Feel free to open another PR yourself based on this one if you want this to be implemented. |
Bumps [@vercel/ncc](https://github.com/vercel/ncc) from 0.29.2 to 0.30.0. - [Release notes](https://github.com/vercel/ncc/releases) - [Commits](vercel/ncc@0.29.2...0.30.0) --- updated-dependencies: - dependency-name: "@vercel/ncc" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Fixes #257
The goal of this PR is to support
current
as alias for thenode-version
array.I thought that
current
is a better name thanlatest
because the actual name from Node.js iscurrent
but we can support both aliases if we really want to.Currently, this is a Work In Progress, I don't know much of this codebase, so I would appreciate some help.
I'm new to the world of developing GitHub Actions, I always use them but never develop them 😆, I saw that you can test if it actually works with the tool nektos/act.
So I ran this command :
act -j current-syntax
and it seems to work, but it is not caching the Node.js version yet.EDIT: I also added the
latest
alias.