Remix.run Logo
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.

romellem 3 hours ago | parent | next [-]

Is there a specific part of Node 22 that isn’t there in Node 24?

STRiDEX 4 hours ago | parent | prev [-]

What are you doing that requires checking in the compiled version. Esbuild takes like one second

OptionOfT 4 hours ago | parent [-]

The code is written in typescript. So we go from

    * cloning the action 
    * running the dist/index.js
to

    * Cloning the action
    * npm install
    * npm compile
    * npm run
esafak 7 hours ago | parent | prev [-]

It's safe to use the LTS, which you can track here: https://endoflife.date/nodejs