Uh oh!
There was an error while loading. Please reload this page.
Support LTS aliases - #270
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
maxim-lobanov
commented
Jun 23, 2021
@gordey4doronin , could you please also add e2e test. See example: https://github.com/actions/setup-node/blob/main/.github/workflows/versions.yml#L32 P.S. I believe we also need to update docs but we will take care about it in separate PR since we will rework docs in scope of #272 |
gordey4doronin
commented
Jun 23, 2021
gordey4doronin
commented
Jun 23, 2021
Absolutely. Good point. Will add too 👍 |
gordey4doronin
commented
Jun 25, 2021
|
Kikobeats
commented
Jun 28, 2021
this is a super great functionality that has been not implemented until now, even this package is used for a lot of maintainers. @maxim-lobanov@konradpabjan can you merge this, please? 🙏 |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
maxim-lobanov
commented
Jun 30, 2021
@gordey4doronin@Kikobeats , Merged PR. I will cut new version later today. Need to merge one more PR before that. |
JimiC
commented
Jun 30, 2021
Good to see that it only took you about 2 years to finally implement "basic" functionality. Let's hope we, now, can use this action in our CI/CD. P.S. Sorry if I sound cynical but 2 years is a loooong time for such a vital CI/CD component. |
skjnldsv
commented
Jun 30, 2021
Thank you everyone that worked on this! Great addition! 🎉 🤗 ❤️ |
JimiC
commented
Jun 30, 2021
@skjnldsv What you don't know and that's why you reacted with 👎 is that I was the first to submit a PR with the exact same functionality 2 YEARS ago. |
skjnldsv
commented
Jun 30, 2021
@JimiC sorry, I understand your frustration, but I don't see how your message helps anyone nor benefit the community in any sort! 😕 Have a great day! ☀️ |
@skjnldsv It's just that when GH actions went live I was so excited about it and one of the first to try it out. So much that I even tried to contribute to the community and the community turned their back on me. So they made me from a GH fan to a GitLab fan.
You too. ☮️ |
mrlubos
commented
Jul 1, 2021
@gordey4doronin Can you help me to clarify my understanding? Can I at this point remove the |
gordey4doronin
commented
Jul 1, 2021
@mrlubos Unfortunately you can't.👇 I wish that too. 🙏
"Resolving aliases" and "reading version manager file" are two different technical tasks. My goal in the first place was to add LTS aliases resolving. Now it's possible to use this workaround if you have aliases in your Reading the For reading the file I personally up-voted #32 and actions/runner#1180. 🙂 Hope that makes sense. |
mrlubos
commented
Jul 1, 2021
Thanks @gordey4doronin! I checked the issue you linked and what do you know, my vote is already there, too 😃 Have a nice day! |
Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 10.2.0 to 10.2.1. - [Release notes](https://github.com/TypeStrong/ts-node/releases) - [Commits](TypeStrong/ts-node@v10.2.0...v10.2.1) --- updated-dependencies: - dependency-name: ts-node dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

The work is related to both #26 and #32.
For manifest changes see actions/versions-package-tools#32 and actions/node-versions#63.
lts/codenamealiaseslts/*aliaslts/codenamealiaseslts/*aliascheck-latest = trueis good idea or not? CC @maxim-lobanoverbiumorlts/erbiumis enough? CC @maxim-lobanov@konradpabjan@bryanmacfarlaneThe goal of my PR is to support
.nvmrcsyntax.Given:
.nvmrc/.node-versionfile in a repositoryWhen: run
setup-nodeaction and pass content of the file toversionpropertyThen: the action can recognize the format and choose correct node version
Being said that, from my point of view supporting simple
erbiumis not required, since version manager doesn't allow that.Also, having all codenames starting with
lts/makes it really easy to determine in the code whenltsalias passed to the action.Reading the
.nvmrcfile is not the goal of this PR.A separate PR shall be created for that, but it wouldn't be possible to implement
.nvmrcreading without supporting the format.So, think about current PR as a pre-requisite. 🙂