Pin Windows CI runner to windows-2022 for Node 22 native build stability - #88
Merged
Conversation
Copilot
AI
changed the title
[WIP] Fix failing GitHub Actions job build (windows-latest, 22.x)
Pin Windows CI runner to Jun 30, 2026
windows-2022 for Node 22 native build stability
rzhao271
marked this pull request as ready for review
June 30, 2026 18:04
rzhao271
enabled auto-merge (squash)
June 30, 2026 18:04
rzhao271
approved these changes
Jun 30, 2026
auto-merge was automatically disabled
June 30, 2026 20:59
Pull request was closed
rzhao271
enabled auto-merge (squash)
June 30, 2026 21:00
TylerLeonhardt
approved these changes
Jun 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
build (windows-latest, 22.x)GitHub Actions job failed duringnpm cibecausenode-gypcould not resolve a supported Visual Studio toolchain on the currentwindows-latestimage. This change narrows the failure surface by pinning the Windows CI image to a known-compatible runner.CI runner matrix update
.github/workflows/ci.ymlto usewindows-2022instead ofwindows-latestin the build matrix.Why this addresses the failure
windows-latestcurrently maps to an image wherenode-gypreports an unknown VS install/version during native module install.windows-2022provides a stable, recognized toolchain path for Node 22 native addon compilation.