Skip to content

Update dependencies for Node 24 and artifact v7 compatibility#42

Open
Mitchell (mitchdz) wants to merge 3 commits intocloudposse:mainfrom
mitchdz:node24
Open

Update dependencies for Node 24 and artifact v7 compatibility#42
Mitchell (mitchdz) wants to merge 3 commits intocloudposse:mainfrom
mitchdz:node24

Conversation

@mitchdz
Copy link
Copy Markdown

what

  • Bump actions/download-artifact from v4 to v7
  • Bump dcarbone/install-jq-action from v2.1.0 to v3.0.0
  • Bump jq from 1.6 to 1.7

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/download-artifact@v4 cannot download artifacts uploaded by actions/upload-artifact@v7 or by other actions using @actions/artifact SDK v2.3+, causing "Artifact download failed after 5
    retries" errors. Bumping to v7 restores compatibility.
  • dcarbone/install-jq-action@v2.1.0 uses deprecated Buffer() constructor, producing [DEP0005] DeprecationWarning under Node 24 runners. v3.0.0 resolves this.

references

Testing

I tested this version in our production workflow here :

  Bump download-artifact from v4 to v7 to support the new GitHub                                                                                             >
  artifact backend. Bump install-jq-action from v2.1.0 to v3.0.0                                                                                             >
  and jq from 1.6 to 1.7 to resolve the Buffer() deprecation                                                                                                 >
  warning under Node 24 runners.                                                                                                                             >

Signed-off-by: mdzurick <mitch_dz@hotmail.com>
Signed-off-by: mdzurick <mitch_dz@hotmail.com>
@dylancrawteIAG
Copy link
Copy Markdown

Hi, is there any update on this? As the date where node 20 is deprecated is fast approaching!

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.

2 participants