Uh oh!
There was an error while loading. Please reload this page.
feat: add support for current and latest aliases - #279
Conversation
theoludwig
commented
Jul 1, 2021
TomasHubelbauer
commented
Jul 1, 2021
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 aliasestheoludwig
commented
Jul 1, 2021
Done! 👍 |
Tungbengok
commented
Jul 4, 2021
Dowload ? |
theoludwig
commented
Jul 17, 2021
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 |
Kikobeats
commented
Jul 30, 2021
any chance to merge this? |
demurgos
commented
Sep 25, 2021
Hi, |
theoludwig
commented
Sep 25, 2021
Thanks for your interest. @Kikobeats and @demurgos I'm happy to continue to work on this PR if it's needed. |
dmitry-shibanov
commented
Jan 18, 2022
Hello @divlo. Thank you for your pull request. Could please attach link to the documentation for the |
theoludwig
commented
Jan 18, 2022
Updated README and resolved the conflicts. 👍 |
aivus
commented
Jan 18, 2022
via email
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: ***@***.***>
|
dominykas
commented
Jan 18, 2022
Just a memory dump of prior art:
I'd argue |
jehon
commented
Jan 18, 2022
Could it be that the two would exists ? "current" and "latest" being synonyms ? |
dominykas
commented
Jan 18, 2022
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. |
dominykas
commented
Jan 18, 2022
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 |
theoludwig
commented
Feb 6, 2022
@dmitry-shibanov Friendly ping. 😄 What is needed to merge this PR? |
bluelovers
commented
Feb 15, 2022
so does actions/setup-node support |
theoludwig
commented
Feb 16, 2022
@bluelovers Does |
bluelovers
commented
Feb 16, 2022
nvm , travis ci use |
theoludwig
commented
Apr 20, 2022
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
currentas alias for thenode-versionarray.I thought that
currentis a better name thanlatestbecause the actual name from Node.js iscurrentbut 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-syntaxand it seems to work, but it is not caching the Node.js version yet.EDIT: I also added the
latestalias.