Skip to content

chore: replace appveyor with github workflows windows runners - #185

Merged
satazor merged 2 commits into
masterfrom
ci/github-windows
Nov 1, 2026
Merged

satazor merged 2 commits into
masterfrom
ci/github-windows

Conversation

@satazor

@satazor satazor commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Moves Windows CI from AppVeyor to GitHub Actions, so all CI runs in one place.

  • Run the unit tests on ubuntu-latest and windows-latest with Node.js 18, 20 and 22.
  • Run lint once, instead of once per matrix entry.
  • Run CI on pull_request too, so pull requests from forks get checked.
  • Remove appveyor.yml and the AppVeyor badge.

The win-ppid.js fixture used wmic to find its parent process. wmic is no longer installed by default on Windows Server 2025 (which windows-latest uses) and Windows 11 24H2, so the "should NOT spawn a shell for a .exe" test failed. The fixture now prints process.ppid instead, which Node.js has had since 9.2.

The test still catches a shell in between: spawning the fixture directly reports the test process as its parent, while forcing cmd.exe reports the cmd.exe process.

wmic is no longer installed by default on Windows Server 2025 and
Windows 11 24H2, which made the "should NOT spawn a shell for a .exe"
test fail. process.ppid is available since Node.js 9.2.
Run the unit tests on both ubuntu-latest and windows-latest, run lint
once, and also run CI on pull requests.
@satazor satazor changed the title ci/github windows chore: replace appveyor with github workflows windows runners Nov 1, 2026
@satazor
satazor merged commit f21818a into master Nov 1, 2026
15 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant