Skip to content

The open source coding agent.

TypeScript

ci use node 24 in test workflow fixing random ECONNRESET (#21782)

Luke Parkerb16ee08fd5c8
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 70a8477fb51..510f682549e 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -17,6 +17,9 @@ permissions:
contents: read
checks: write
+env:
+ FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
+
jobs:
unit:
name: unit (${{ matrix.settings.name }})
@@ -38,6 +41,11 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
+ - name: Setup Node
+ uses: actions/setup-node@v4
+ with:
+ node-version: "24"
+
- name: Setup Bun
uses: ./.github/actions/setup-bun
@@ -102,6 +110,11 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
+ - name: Setup Node
+ uses: actions/setup-node@v4
+ with:
+ node-version: "24"
+
- name: Setup Bun
uses: ./.github/actions/setup-bun