Skip to content
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

Outdated version of setup-node used in node.js.yml #1007

Closed
HonkingGoose opened this issue Jul 9, 2021 · 1 comment · Fixed by #1008
Closed

Outdated version of setup-node used in node.js.yml #1007

HonkingGoose opened this issue Jul 9, 2021 · 1 comment · Fixed by #1008

Comments

@HonkingGoose
Copy link
Contributor

You're using an outdated version of the setup-node action.
The latest version of setup-node is v2.2.0, and comes with two major new (optional) features:

  • Easy way to cache your dependencies
  • You can use nvm LTS syntax: lts/erbium, lts/fermium, lts/*

It's my experience that updating setup-node to v2.2.0 usually works right away, so this should be a low-risk update.
I don't know if caching would be beneficial for you or not.

https://github.com/actions/setup-node/releases

I'm willing to open a PR to update your action file.

@typicode
Copy link
Owner

Sure, PR welcome. Thanks for the heads up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants