Skip to content

update claude-code-action to use node24 #1050

@andrewhsu

Description

@andrewhsu

Describe the bug
Warning is given when claude-code-action is used:

Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: oven-sh/setup-bun@3d26778. 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/

Found pinned oven-sh/setup-bun:

Upstream oven-sh/setup-bun just updated action runtime to Node.js 24 oven-sh/setup-bun#176

After they release a new version using Node.js 24, please update anthropics/claude-code-action to use.

Node20 will EOL 2026-04-30 according to release schedule.

To Reproduce
Steps to reproduce the behavior:

  1. Run workflow using anthropics/claude-code-action@v1
  2. Navigate to GitHub workflow run summary page.
  3. See warning.

Expected behavior
No warning when action is used.

Screenshots
If applicable, add screenshots to help explain your problem.

Workflow yml file
If it's not sensitive, consider including a paste of your full Claude workflow.yml file.

API Provider

[x] Anthropic First-Party API (default)
[ ] AWS Bedrock
[ ] GCP Vertex

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:installationbugSomething isn't workingp2Non-showstopper bug or popular feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions