build: switch coverage-windows to windows-2022

GitHub has updated the `windows-2025` runner to Visual Studio 2026.
Since Node.js 22.x does not support compilation on VS2026, switch
the workflow to `windows-2022` which still has the earlier version
of Visual Studio.

Signed-off-by: Richard Lau <richard.lau@ibm.com>
PR-URL: https://github.com/nodejs/node/pull/63940
Refs: https://github.blog/changelog/2026-05-14-github-actions-upcoming-image-migrations/#windows-2025-visual-studio-2026-image-migration
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
This commit is contained in:
Richard Lau committed 2026-06-19 12:45:36 +00:00
1 parent e896619d9b
commit 41d2ee13be
1 file changed
+1 -1
+1 -1
View File
@@ -43,7 +43,7 @@ permissions:
jobs:
coverage-windows:
if: github.event.pull_request.draft == false
runs-on: windows-2025
runs-on: windows-2022
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with: