Summary
The Windows build and Node 20 test jobs now fail during npm ci before repository code is compiled.
windows-latest exposes Visual Studio 18, while the Node 20 bundled node-gyp@10.1.0 reports:
gyp ERR! find VS unknown version "undefined" found at "C:\Program Files\Microsoft Visual Studio\18\Enterprise"
gyp ERR! find VS could not find a version of Visual Studio 2017 or newer to use
Affected jobs
Build win32-x86
test (20.x, windows-latest, x64)
Both push and pull-request workflow runs fail at the same npm ci stage. This is independent of the C++ patch in #22.
Proposed fix
Pin the Windows build and test matrix entries to windows-2022, which provides the Visual Studio toolchain supported by the Node 18/20 node-gyp versions used here. Keep this change isolated from feature PRs.
Summary
The Windows build and Node 20 test jobs now fail during
npm cibefore repository code is compiled.windows-latestexposes Visual Studio 18, while the Node 20 bundlednode-gyp@10.1.0reports:Affected jobs
Build win32-x86test (20.x, windows-latest, x64)Both push and pull-request workflow runs fail at the same
npm cistage. This is independent of the C++ patch in #22.Proposed fix
Pin the Windows build and test matrix entries to
windows-2022, which provides the Visual Studio toolchain supported by the Node 18/20node-gypversions used here. Keep this change isolated from feature PRs.