Skip to content

Commit b16ee08

Browse files
Honaopencode
authored andcommitted
ci use node 24 in test workflow fixing random ECONNRESET (#21782)
1 parent 98874a0 commit b16ee08

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/test.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ permissions:
1717
contents: read
1818
checks: write
1919

20+
env:
21+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
22+
2023
jobs:
2124
unit:
2225
name: unit (${{ matrix.settings.name }})
@@ -38,6 +41,11 @@ jobs:
3841
with:
3942
token: ${{ secrets.GITHUB_TOKEN }}
4043

44+
- name: Setup Node
45+
uses: actions/setup-node@v4
46+
with:
47+
node-version: "24"
48+
4149
- name: Setup Bun
4250
uses: ./.github/actions/setup-bun
4351

@@ -102,6 +110,11 @@ jobs:
102110
with:
103111
token: ${{ secrets.GITHUB_TOKEN }}
104112

113+
- name: Setup Node
114+
uses: actions/setup-node@v4
115+
with:
116+
node-version: "24"
117+
105118
- name: Setup Bun
106119
uses: ./.github/actions/setup-bun
107120

0 commit comments

Comments
 (0)