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

Upgrade Node 16 -> Node 20 #29

Open
michaliskambi opened this issue Jun 1, 2024 · 0 comments
Open

Upgrade Node 16 -> Node 20 #29

michaliskambi opened this issue Jun 1, 2024 · 0 comments

Comments

@michaliskambi
Copy link

The action uses node16 right now ( https://github.com/gcarreno/setup-lazarus/blob/master/action.yml#L23 ).

GitHub suggests to transition all actions to Node 20, see https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/ .

Running workflows using the current action, for now, works perfectly, but we get a warning about it:

Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: gcarreno/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Note that GitHub also recently announced more information about Node 16 -> 20 on https://github.blog/changelog/2024-05-17-updated-dates-for-actions-runner-using-node20-instead-of-node16-by-default/ , though from what I understand that news concerns more people using Node in the GH-hosted runners, not actions' authors.

I'm not aware of any real problem with using Node 16, as said above -- everything seems to work perfectly, we only get a warning from the workflow that can be just ignored. That being said, at some point I guess this will be more forced, so I'm submitting an issue -- maybe you'd like to address this earlier :) If you will have a new version of the action using Node 20, I will be happy to test, switching my workflows to use it ( https://github.com/castle-engine/castle-engine/ , https://github.com/pasdoc/pasdoc/ ) and report if everything works OK.

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

No branches or pull requests

1 participant