Repository navigation
ci: consumer-test both npm packages, before tagging and after publishing (v3) - #8
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
v3copy of #7: the same commit, cherry-picked. Only two things differ:ci.ymlkeeps v3's branch triggers and builds the WASI binary from corev3by default;consumer-test/browser/quickstart.jsmatches 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