@@ -17,13 +17,13 @@ jobs:
17
17
timeout-minutes : 40
18
18
strategy :
19
19
matrix :
20
- os : [ubuntu-latest, macOS-latest, windows-latest ]
20
+ os : [ubuntu-latest, macOS-latest, windows-2025 ]
21
21
# Pinning 20.x version as a temporary workaround due to this https://github.com/nodejs/node/issues/52884
22
22
node-version : ['20.12.2', '22']
23
23
shard : ['1/4', '2/4', '3/4', '4/4']
24
24
25
25
exclude :
26
- - os : windows-latest
26
+ - os : windows-2025
27
27
node-version : ' 22'
28
28
fail-fast : false
29
29
steps :
32
32
run : |
33
33
netsh int ipv4 set dynamicport tcp start=1025 num=64511
34
34
REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TCPIP\Parameters /v TcpTimedWaitDelay /t REG_DWORD /d 30 /f
35
- if : " ${{ matrix.os == 'windows-latest ' }}"
35
+ if : " ${{ matrix.os == 'windows-2025 ' }}"
36
36
37
37
- name : Git checkout
38
38
uses : actions/checkout@v4
@@ -113,7 +113,7 @@ jobs:
113
113
# Can be replaced with larger node 23 tests in the future.
114
114
integration-win-node-23 :
115
115
name : Integration test windows latest node23 specific
116
- runs-on : windows-latest
116
+ runs-on : windows-2025
117
117
timeout-minutes : 40
118
118
steps :
119
119
# This improves Windows network performance, we need this since we open many ports in our tests
@@ -172,7 +172,7 @@ jobs:
172
172
id : test-coverage-flags
173
173
# For windows we have to use $env:
174
174
run : |-
175
- os=windows-latest
175
+ os=windows-2025
176
176
node=$(node --version)
177
177
echo "os=${os/-latest/}" >> $GITHUB_OUTPUT
178
178
echo "os=${os/-latest/}" >> $env:GITHUB_OUTPUT
@@ -184,7 +184,7 @@ jobs:
184
184
uses : actions/upload-artifact@v4
185
185
if : always()
186
186
with :
187
- name : npm-logs--windows-latest --23x
187
+ name : npm-logs--windows-2025 --23x
188
188
path : |
189
189
~/.npm/_logs/**/*
190
190
0 commit comments