Commit Graph

13 Commits

Author SHA1 Message Date
tomsideguide 08bcbc22ef chore: release v0.2.1 (#119)
* chore: release v0.2.1

* ci: create releases from committed notes
2026-08-20 20:05:41 +01:00
tomsideguide 6f0a15795e feat: add wasm bindings, @firecrawl/anydoc-wasm, and a browser demo
- wasm/ crate with wasm-bindgen bindings mirroring the lib API
  (formatFromBytes/Extension/Path, toMarkdownBytes, toDocument)
- static demo page under wasm/www, deployed to GitHub Pages on push
- @firecrawl/anydoc-wasm published from release.yml with provenance
- wasm job in CI: clippy on the wasm target plus a Node smoke test
- version guard now spans five locations (wasm/Cargo.toml added)
2026-08-05 14:55:34 +01:00
tomsideguide 2d95950345 ci: create the GitHub release last, with the addons, wheels, and sdist
napi prepublish no longer creates the release as a side effect of the
npm publish (--no-gh-release, so that job drops contents: write). A final
job, gated on all three registry publishes, creates the release with
generated notes and uploads every built artifact.
2026-08-04 17:11:15 +01:00
tomsideguide 85c39ed570 ci: skip the npm dry-run publish when the version is already live
npm refuses even a --dry-run publish over an existing version, so gate
the dry-run step on the same registry probe as the real publish.
2026-08-04 17:00:37 +01:00
tomsideguide 3c3d7f97b3 ci: test the Linux release matrices through docker run
JavaScript actions cannot run inside Alpine containers on arm64 runners,
so the aarch64-musl container: jobs failed before their first step. Run
all four Linux test flavors with docker run on the host instead.
2026-08-04 16:52:37 +01:00
tomsideguide 4982f0fb1f ci: rewrite the workflows with npm provenance, dry-run releases, and a shared version gate
Clean-room rewrite. The release gate moves to scripts/check-versions.sh
(also runnable locally), npm publishing runs on a GitHub-hosted runner so
every package gets a provenance attestation, workflow_dispatch on Release
is now a full no-publish dry run, and both workflows default to read-only
permissions.
2026-08-04 16:38:15 +01:00
tomsideguide 0d57d59f69 ci: publish to npm without provenance, which self-hosted runners cannot attest 2026-08-04 16:17:17 +01:00
tomsideguide 65040b465a ci: fix the release blockers found on the first v0.1.1 run
The crates.io liveness probe hit the API without a User-Agent (403) and fell through to a doomed publish: probe the sparse index instead. npm rejects provenance from self-hosted runners: publish from a GitHub-hosted one. setup-python's universal2 macOS build launches as arm64 on Apple silicon, where pip rejects the x86_64 wheel: run the x64 test through Rosetta.
2026-08-04 16:16:34 +01:00
tomsideguide cc80979156 ci: fail the release fast when the tag and version locations disagree 2026-08-04 16:11:19 +01:00
tomsideguide 30c7a73a3d ci: skip the crates.io publish when the version is already live 2026-08-04 16:04:42 +01:00
tomsideguide 4debcff312 ci: build, test, and publish the Python wheels 2026-08-04 15:57:01 +01:00
tomsideguide a27d1947e2 chore: update GitHub release permissions and add GITHUB_TOKEN for npm publish 2026-08-04 15:31:57 +01:00
tomsideguide bda9398683 ci: build and publish the crate and npm package on release tags 2026-08-03 13:43:35 +01:00