-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Support LTS aliases #270
Support LTS aliases #270
Conversation
@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 |
Absolutely. Good point. Will add too 👍 |
|
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? 🙏 |
@gordey4doronin @Kikobeats , Merged PR. I will cut new version later today. Need to merge one more PR before that. |
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. |
Thank you everyone that worked on this! Great addition! 🎉 🤗 ❤️ |
@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. |
@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. ☮️ |
@gordey4doronin Can you help me to clarify my understanding? Can I at this point remove the |
@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. |
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] <[email protected]> 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/codename
aliaseslts/*
aliaslts/codename
aliaseslts/*
aliascheck-latest = true
is good idea or not? CC @maxim-lobanoverbium
orlts/erbium
is enough? CC @maxim-lobanov @konradpabjan @bryanmacfarlaneThe goal of my PR is to support
.nvmrc
syntax.Given:
.nvmrc
/.node-version
file in a repositoryWhen: run
setup-node
action and pass content of the file toversion
propertyThen: the action can recognize the format and choose correct node version
Being said that, from my point of view supporting simple
erbium
is 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 whenlts
alias passed to the action.Reading the
.nvmrc
file is not the goal of this PR.A separate PR shall be created for that, but it wouldn't be possible to implement
.nvmrc
reading without supporting the format.So, think about current PR as a pre-requisite. 🙂