Skip to content

Should upgrade node20 to node24 #182

Closed

Description

@poad

On September 19, 2025, it was announced that actions using Node 20 on GitHub runners would be deprecated.
Node 24 is scheduled to become the standard Node.js version for GitHub runners on March 4, 2026, and Node 20 is planned to be removed in late summer 2026.

GitHub blog

Activity

  1. IzumiSy commented on Dec 3, 2025

    @IzumiSy
  2. MikeMcC399 commented on Dec 3, 2025

    @MikeMcC399
  3. IzumiSy commented on Dec 3, 2025

    @IzumiSy
  4. MikeMcC399 commented on Dec 3, 2025

    @MikeMcC399

    @IzumiSy

    I see. Even engines.node would not be respected in future plan?

    You may need to ask your question in a different place, as this repo is concerned with installing pnpm, not with installing Node.js. Please check the README > Notes document section, which says:


    Notes

    This action does not setup Node.js for you, use actions/setup-node yourself.

  5. MikeMcC399 commented on Dec 15, 2025

    @MikeMcC399

    It would be great to see some work being done towards updating the action to run under node24 instead of node20. There are 2 more working months until GitHub Actions forces the update in March 2026. It could be that doesn't break the action, but only testing in advance can say for sure.

    action-setup/action.yml

    Lines 39 to 40 in 1e1c8ea

    runs:
    using: node20

    Also it looks like https://github.com/pnpm/action-setup/blob/master/.github/workflows/test.yaml is only testing on pnpm 9.x, not 10.x, so that is also something to be cross-checked, especially as pnpm 11.x is on its way to being released. (Edit: added as separate issue #200.)

  6. MikeMcC399 commented on Jan 13, 2026

    @MikeMcC399

    @zkochan

    Do you have plans to address this? According to Deprecation of Node 20 on GitHub Actions runners, GitHub plans to force transition starting on March 6, 2026 in just a few weeks' time.

  7. MikeMcC399 commented on Feb 19, 2026

    @MikeMcC399

    #205 from @zkochan updated the master branch to node24, however at this time I don't see any new release. The latest version is still v4.2.0 from October 2025

  8. MikeMcC399 commented on Mar 9, 2026

    @MikeMcC399

    According to https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/ the migration date has been delayed until June 2, 2026.

  9. g-farrow commented on Mar 11, 2026

    @g-farrow

    GitHub Actions is now warning about the deprecation:

    Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: oprypin/find-latest-tag@v1, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

    Given the fix is already in master, could a release be arrange soon perhaps, please?

  10. MikeMcC399 commented on Mar 17, 2026

    @MikeMcC399

    I see it's now released as v5.0.0

    using: node24

    The README still needs updating from @v4 to @v5 however.

  11. poad commented on Mar 18, 2026

    @poad
    Author

    This is excellent! My heartfelt thanks to everyone who was involved in the changes. Thank you so much. It seems to be working well.

  12. MikeMcC399 commented on Mar 18, 2026

    @MikeMcC399

    Perhaps somebody could open an issue or PR to get the README updated? I'm not really familiar with all the details, so I'd prefer for a regular contributor / maintainer to do this.

    Also the tags are currently mixed up, as I commented in #210 (comment) so that should be sorted out as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions