Skip to content

Node versions question #961

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

Closed
BlueskyFR opened this issue Feb 15, 2024 · 5 comments
Closed

Node versions question #961

BlueskyFR opened this issue Feb 15, 2024 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@BlueskyFR
Copy link

Hi,

The README doesn't specify how I may target automatically the latest LTS, how may I do that?

Thanks!

@BlueskyFR BlueskyFR added bug Something isn't working needs triage labels Feb 15, 2024
@HarithaVattikuti
Copy link
Contributor

Hello @BlueskyFR
Thank you for creating this issue.

Please use below code for fetching the latest LTS version:

       - uses: actions/setup-node@v4
         with:
          node-version: 'lts/*'

Feel Free to reach out to us in case of any issues.

@BlueskyFR
Copy link
Author

Thanks! Are you sure though? I think I saw another issue in which it was reported that this expression doesn't do that.

@priyagupta108 priyagupta108 self-assigned this Feb 19, 2024
@priyagupta108
Copy link
Contributor

Hello @BlueskyFR,
The actions/setup-node action is designed to use the latest LTS Node.js version when 'lts/*' is specified. This is validated by the action's official test suites and source code.
If you have seen a specific issue where this was not working as expected, could you please provide more details or a link to that issue for a more accurate response?

@priyagupta108
Copy link
Contributor

Hello @BlueskyFR 👋 , just following up. Do you have any updates or queries related to the latest LTS Node.js version setup?

@priyagupta108
Copy link
Contributor

Hello @BlueskyFR,
Due to inactivity, I'm going to close this issue for now. If you have any further questions, please feel free to reopen this issue or create a new one. Thank you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants