Skip to content

Update to Node 24 runtime and @actions/artifact v2.3#72

Open
mitchdz wants to merge 3 commits intocloudposse:mainfrom
mitchdz:node24-update
Open

Update to Node 24 runtime and @actions/artifact v2.3#72
mitchdz wants to merge 3 commits intocloudposse:mainfrom
mitchdz:node24-update

Conversation

@mitchdz
Copy link
Copy Markdown

@mitchdz mitchdz commented Apr 6, 2026

what

  • Update action runtime from node20 to node24 in action.yml
  • Bump @actions/artifact from ^2.0.0 to ^2.3.0 in package.json
  • Regenerate package-lock.json and node_modules

why

  • GitHub is deprecating Node.js 20 for Actions runners. Node 24 becomes the default on June 2, 2026 and Node 20 is removed entirely on September 16, 2026.
  • @actions/artifact 2.3.x is required for compatibility with actions/upload-artifact@v7 and actions/download-artifact@v7, which use a newer artifact backend. The older 2.0.x SDK cannot produce artifacts that download-artifact@v7 can read, causing "Artifact download failed after 5 retries" errors in downstream consumers like github-action-matrix-outputs-read.

references

Testing

I tested this version in our production workflow here :

mitchdz added 3 commits April 3, 2026 19:59
  Bump action runtime from node20 to node24. Upgrade @actions/artifact
  from 2.0.0 to 2.3.x to support the new GitHub artifact backend used
  by upload-artifact/download-artifact v7.

Signed-off-by: mdzurick <mitch_dz@hotmail.com>
Signed-off-by: mdzurick <mitch_dz@hotmail.com>
Signed-off-by: mdzurick <mitch_dz@hotmail.com>
@mitchdz mitchdz changed the title Node24 update Update to Node 24 runtime and @actions/artifact v2.3 Apr 6, 2026
@mitchdz
Copy link
Copy Markdown
Author

mitchdz commented Apr 6, 2026

This is a massive PR entirely because of updating the node modules. I wouldn't blame you if you don't trust all of these binary file changes, so I urge making them yourself. My corresponding PR for matrix read cloudposse/github-action-matrix-outputs-read#42 is much more benign.

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

Successfully merging this pull request may close these issues.

Upgrade to Node v24

1 participant