Skip to content

Support Windows npm launching in Home Assistant release builds - #1062

Merged
PrzemyslawKlys merged 1 commit into
mainfrom
fix/homeassistant-windows-npm
Oct 8, 2026
Merged

PrzemyslawKlys merged 1 commit into
mainfrom
fix/homeassistant-windows-npm

Conversation

@PrzemyslawKlys

Copy link
Copy Markdown
Member

Home Assistant plugin builds start npm as an executable. Standard Windows Node.js installations expose npm through npm.cmd, so direct process creation fails before dependency installation begins.

Run the four fixed npm build-stage commands through the system Windows command processor with AutoRun disabled. Linux and macOS retain direct npm execution. Credential scrubbing and the test, type-check, and packaging stages remain unchanged; no new dependency or public configuration is introduced.

This was reproduced while building Waste Pickup Planner. PowerForge owns process launching, and the card continues to use the shared release engine.

Validation: 35 focused Home Assistant release/client tests passed. The exact v0.1.6 card release commit was built successfully on Windows and Linux without GitHub write credentials; both produced the same SHA-256 as the published release bundle.

@PrzemyslawKlys
PrzemyslawKlys merged commit 82d4ec2 into main Oct 8, 2026
9 checks passed
@PrzemyslawKlys
PrzemyslawKlys deleted the fix/homeassistant-windows-npm branch October 8, 2026 13:51
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