8000 ci: consumer-test both npm packages, before tagging and after publishing (v3) by adityamukho · Pull Request #8 · project-minigraf/minigraf-wasm · GitHub
[go: up one dir, main page]

Skip to content

ci: consumer-test both npm packages, before tagging and after publishing (v3) - #8

Merged
adityamukho merged 1 commit into
v3from
ci/consumer-tests-v3
Oct 21, 2026
Merged

adityamukho merged 1 commit into
v3from
ci/consumer-tests-v3

Conversation

@adityamukho
Copy link
Copy Markdown
Contributor

The v3 copy of #7: the same commit, cherry-picked. Only two things differ:

  • ci.yml keeps v3's branch triggers and builds the WASI binary from core v3 by default;
  • the browser quick start line in consumer-test/browser/quickstart.js matches v3's README.

See #7 for what it does, the fixes, and the deviations from the plan.

🤖 Generated with Claude Code

https://claude.ai/code/session_01PtCdzbJMSS1V8qEPaJ4jXz

package.yml builds the @minigraf/browser and @minigraf/wasi tarballs exactly
as the release publishes them. ci.yml installs each into an empty project and
runs its README quick start and the consumer contract: the browser package in
headless Chromium (Playwright) with an IndexedDB reload, the WASI package
under node:wasi on Linux, macOS and Windows. The release tests these tarballs
at the release version and publishes exactly them; verify-published.yml
installs the published versions from npm afterwards and opens a
release-broken issue on failure.

Fixes found by the test: both packages now ship LICENSE-MIT and
LICENSE-APACHE; @minigraf/browser gets a real description instead of
"wasm-pack build shim"; the README's WASI snippet uses startMinigrafWasi
(the package is the REPL binary, not a library) and drops the /tmp preopen
the binary never uses.

readme_sync.py takes an optional heading, since this README covers two
packages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PtCdzbJMSS1V8qEPaJ4jXz
@adityamukho
adityamukho merged commit 1a649ee into v3 Oct 21, 2026
7 checks passed
@adityamukho
adityamukho deleted the ci/consumer-tests-v3 branch October 21, 2026 04:33
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

0