chore: windows dev and ci. - #56
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #56 +/- ##
=======================================
Coverage 89.43% 89.43%
=======================================
Files 15 15
Lines 1467 1467
Branches 394 394
=======================================
Hits 1312 1312
Misses 39 39
Partials 116 116 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
This PR adds Windows support for development and continuous integration by updating scripts, tests, and CI configuration to handle Windows-specific behaviors. The main changes include handling undefined environment variables, using appropriate shell options for Windows, and adding cross-platform environment variable support.
- Updates test and script files to properly handle Windows platform-specific requirements
- Adds cross-env package for cross-platform environment variable handling
- Expands CI matrix to include Windows builds alongside Ubuntu
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| test/next-fixture.test.ts | Added Windows support by filtering undefined env variables and enabling shell mode for Windows in spawn calls |
| scripts/setup-wasm.mjs | Enhanced npm pack execution with Windows compatibility (shell option and .cmd support), updated WASM binding version, and removed unused CLI entry logic |
| package.json | Added cross-env dependency and updated test scripts to use cross-env for cross-platform environment variable support |
| package-lock.json | Added cross-env and its dependency @epic-web/invariant to the lock file |
| .github/workflows/ci.yml | Expanded CI matrix to test on both Ubuntu and Windows with explicit Node versions (22.17.0, 24.11.1) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.