▲ | Node 20 will be deprecated on GitHub Actions runners(github.blog) | ||||||||||||||||||||||
31 points by redbell 9 hours ago | 6 comments | |||||||||||||||||||||||
▲ | stackskipton 6 hours ago | parent | next [-] | ||||||||||||||||||||||
Ops type here, something important to understand is Node is language the runner client uses so in particular, this is impactful for anyone building self-hosted runners and a will be a problem for anyone still writing Node 20 applications that just use self-hosted runner Node. | |||||||||||||||||||||||
▲ | OptionOfT 6 hours ago | parent | prev | next [-] | ||||||||||||||||||||||
Very sad they went from 20 to 24. No 22. OTOH I've been moving from native NodeJS actions to packing them in a Docker container to separate code from compiled code. If you wanted to use Typescript for your action you always had a 2 step process because GitHub Actions required you to pack dependencies with ncc or vite or webpack. This packaged version was subsequently committed to the main branch. Technically I could do a composite action where I compile the typescript on the fly, but that was fragile last time I tried it. | |||||||||||||||||||||||
| |||||||||||||||||||||||
▲ | esafak 7 hours ago | parent | prev [-] | ||||||||||||||||||||||
It's safe to use the LTS, which you can track here: https://endoflife.date/nodejs |