Conversation
Co-authored-by: chenrui333 <1580956+chenrui333@users.noreply.github.com>
Co-authored-by: chenrui333 <1580956+chenrui333@users.noreply.github.com>
|
Recently GitHub Actions started to cause warnings on actions using deprecated
|
softprops/action-gh-release@v2 still runs on Node.js 20, which GitHub is deprecating (forced Node 24 in June 2026, removed entirely Sept 2026). Upstream has an open PR (softprops/action-gh-release#670) but it hasn't merged yet. Setting FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 suppresses the deprecation warning and ensures compatibility now. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
softprops/action-gh-release@v2 still runs on Node.js 20, which GitHub is deprecating (forced Node 24 in June 2026, removed entirely Sept 2026). Upstream has an open PR (softprops/action-gh-release#670) but it hasn't merged yet. Setting FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 suppresses the deprecation warning and ensures compatibility now. Co-authored-by: BONGRAKER <smileh@gmail.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

This PR upgrades the GitHub Action runtime from Node 20 to Node 24, following the deprecation timeline outlined in actions/runner#3600.
Changes
Runtime & Requirements
runs.usingfromnode20tonode24enginesfield requiring Node >=24Type Definitions & Dependencies
^20.19.19to^22(resolves to v22.18.8)@types/node >=22.0.0to enable automatic updates for Node 22+ type definitionsCompatibility Fix
{ type: 'bytes' }parameter fromreadableWebStream()call to align with Node.js 22+ type definitions. The API behavior remains unchanged.Documentation
Testing
All existing tests pass:
Validation
.tool-versionsfile already specifiednodejs 24.2.0.github/workflows/main.yml) already runs onubuntu-24.04and uses.tool-versionstsconfig.json) withtarget: "es2022"is compatible with Node 24This upgrade ensures the action continues to work seamlessly as GitHub Actions phases out Node 20 support.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.