Skip to content

Repair browser lockfile and check browser assets in CI - #51

Merged
elpete merged 1 commit into
developmentfrom
fix/browser-lockfile-portability
Oct 8, 2026
Merged

elpete merged 1 commit into
developmentfrom
fix/browser-lockfile-portability

Conversation

@elpete

@elpete elpete commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

Snapshot publishing failed on Node 22/npm 10 because the browser lockfile incorrectly marked Vitest's nested esbuild dependencies as extraneous. npm ci attempted to install an AIX binary on Linux and exited with EBADPLATFORM.

Reconcile the lockfile with npm 10.9.9 without changing package versions. Add a browser job to the shared test workflow so PRs and snapshots check clean dependency installation, all browser tests, and bundle generation before publishing.

Validation: reproduced the original EBADPLATFORM in Linux amd64 with Node 22.23.3/npm 10.9.9; repaired lockfile passed npm ci, all 28 browser tests, and bundle generation in the same container. No existing package versions changed. git diff --check passed. The module code is unchanged from the development snapshot that passed all 13 engine/framework combinations.

@elpete
elpete merged commit 97b95a2 into development Oct 8, 2026
3 of 31 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