When will be able to specify runs.using: node18
in action.yml?
#7664
-
The default version of Node.js has apparently been 18.x since 2023-02-13, Node.js 16.x will be end of life in 3 months on 2023-09-11, and If you do specify something like this: # action.yml
runs:
using: node18
main: dist/main.js The action will fail with the following message:
This is a pretty poor experience. I get that Node.js 16.x is not technically end-of-life yet, and is still receiving security releases. But I think I speak on behalf of everyone who develops actions when I say that we need a decent window of time to test our actions with a new runtime. We don't want to be forced into doing our upgrades with such a small time window before end-of-life happens. Could we please get an answer as to when we will be able to actually use Node.js 18.x? And can we have a discussion about reducing the lead time on new Node.js LTS versions in GitHub Actions, so that this situation doesn't repeat itself for Node.js 20.x? See also #5429. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @ezzatron. Unfortunately, it's out of our control. I also found this discussion: actions/runner#2619. I hope this helps. |
Beta Was this translation helpful? Give feedback.
Hi @ezzatron. Unfortunately, it's out of our control.
Node.js versions that may be used to execute custom actions are enforced by runner itself. I believe it would be better to ask there.
I also found this discussion: actions/runner#2619. I hope this helps.