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
|
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
|
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.