-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
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:
Line 167 in f956510
uses: oven-sh/setup-bun@3d267786b128fe76c2f16a390aa2448b815359f3 # https://github.com/oven-sh/setup-bun/releases/tag/v2.1.2 claude-code-action/base-action/action.yml
Line 100 in f956510
uses: oven-sh/setup-bun@3d267786b128fe76c2f16a390aa2448b815359f3 # https://github.com/oven-sh/setup-bun/releases/tag/v2.1.2
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:
- Run workflow using
anthropics/claude-code-action@v1 - Navigate to GitHub workflow run summary page.
- 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.