Replies: 14 comments 29 replies
-
Happy to hear that GitHub finally had response on this. |
Beta Was this translation helpful? Give feedback.
-
it's really disappointing that this is has only been communicated this recently, and that most issues relating to this have been closed for months. #2255 It's also disappointing that github can both not support any later version than 16 in an action, while demanding a minimum version of 18 to use octokit. https://github.com/octokit/octokit.js/#fetch-missing Please can this be reconsidered? |
Beta Was this translation helpful? Give feedback.
-
This is great to hear! Thanks a lot! One small suggestion: It took me a bit of googling and browsing various github actions issues to find this post. As for #2704 (comment): For now you can either use const fetch = require('node-fetch').default;
const octokit = new Octokit({ auth: token, request: {fetch: fetch, } }); Or you can make a composite action with With composite actions in inputs:
my_parameter:
description: 'My input'
required: false And after setting up env:
INPUT_MY_PARAMETER: ${{ inputs.my_parameter }} If you need, I have those in more detail in Node16 and Node18 branches of one of my actions. Now, with the upcoming support for |
Beta Was this translation helpful? Give feedback.
-
Since Node 20 won't be LTS until Can you share any updates on if your team is making any process changes to ensure this doesn't happen in the future? Thanks. |
Beta Was this translation helpful? Give feedback.
-
Node20 support has been merged #2732 by the runner team It is now only a matter of waiting for the next runner release, if nobody reverts it |
Beta Was this translation helpful? Give feedback.
-
Do you have any update for us on the release date for Node.js |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
In your original post in July 2023 you wrote:
That is currently the first and last post in this discussion from any maintainer. The milestone of Node.js
|
Beta Was this translation helpful? Give feedback.
-
The blog post states
But the actions platform still states Node12 as a valid option if you use the wrong argument for the
|
Beta Was this translation helpful? Give feedback.
-
According to the blog post GitHub Actions: Transitioning from Node 16 to Node 20 Sep 22, 2023 I would expect to see warnings now for
Has there been a change or delay to the plan? |
Beta Was this translation helpful? Give feedback.
-
Can someone shed some light on the plan with GHES? We are on GHES 3.10.3 and the latest runner provided there is 2.304.0 (indicated in the 'New Runner' page and also auto-upgrade). But for node20 we need 2.308.0. GHES 3.11 is "only" in RC and also typically our internal IT does not upgrade directly. As actions in the market are moving to node20 things start to get tricky as we need bugfixes only provided on new versions already targeting node20. |
Beta Was this translation helpful? Give feedback.
-
According to actions/upload-artifact#444 (comment) from @joshmgross
As far as I can see, the last related blog entry is https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/ from Sep 22, 2023 and this says:
which has no mention about the warning having been disabled. I couldn't find any related update in https://github.com/orgs/community/discussions/categories/actions either. What is the plan for re-enabling the |
Beta Was this translation helpful? Give feedback.
-
There is a new GitHub blog post GitHub Actions; All Actions will run on Node20 instead of Node16 by default announcing that all actions will be forced to run under Node.js |
Beta Was this translation helpful? Give feedback.
-
Hello, found this discussion while searching around a bit - is support for Node 22 on the roadmap? https://github.com/actions/setup-node added support for Node 22 as of https://github.com/actions/node-versions/releases/tag/22.0.0-8879734543, yet the runner errors when configured to use Node 22 in https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runsusing-for-javascript-actions:
|
Beta Was this translation helpful? Give feedback.
-
👋 Hey all!
Sorry we've been quiet on this. I want to provide you with as much clarity as we have right now on the next steps for node.
Node 12
We've been on the path to deprecate this for a while, we started back in October with a deprecation message. We are super relieved 😅 that we will be removing Node12 from the Actions runner on the 14th of August 2023. This has taken a while because a bunch of folks were still actively using node12 and we wanted to give them heads up and migrate as many of them as we could, in advance.
Node 16 and 20
From here, we plan to skip over node 18 and hop on the node 20 LTS release. We are currently working on a date to rollout node 20 and have work in-flight to accomplish this. We will update this discussion in the coming weeks with our plans once we finalize them.
This does mean that we will carry node 16 past it's out-of-support date, but will start the deprecation process of node 16 later this year, similar to how we deprecated node 12 over a period of time.
Thank you all for your engagement and feedback on this matter! Please keep raising issues in our repo when you have concerns or feedback. We really appreciate the engagement and support ❤️ .
Beta Was this translation helpful? Give feedback.
All reactions