• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

joaoh82 / rust_sqlite / 24936421084
69%

Build:
DEFAULT BRANCH: main
Ran 25 Apr 2026 05:27PM UTC
Jobs 1
Files 29
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

25 Apr 2026 05:24PM UTC coverage: 66.922%. Remained the same
24936421084

push

github

web-flow
Phase 6h: add publish-wasm to release.yml (npm via OIDC) (#36)

Adds a single publish-wasm job alongside the existing
publish-* chain. Unlike the Python / Node SDKs, WASM doesn't
need a per-platform binary matrix — WebAssembly is one
universal artifact that runs on any wasm32-capable host
(browsers, Deno, modern bundlers). One build, one upload.

**Scoped name preemptively (`@joaoh82/sqlrite-wasm`):** the
unscoped `sqlrite-wasm` is currently free on npm but the
similarity check that rejected `sqlrite` (vs `sqlite`) might
also reject `sqlrite-wasm` (vs `sqlite-wasm`, distance 1).
Going scoped from day one matches the Node SDK's
`@joaoh82/sqlrite` decision and avoids the rename dance we
did in PR #30. Free to revisit if the ecosystem demands
unscoped.

**Build target = `bundler`:** webpack/vite/rollup/parcel users
get JS modules + .wasm without extra config. `web` / `nodejs`
/ `deno` targets can be added as siblings later if there's
demand; one target per package is the simpler MVP shape.

**Job structure** (single cell, no matrix):

  - install Rust + wasm32-unknown-unknown target
  - cargo install wasm-pack via the curl|sh installer (binstall
    isn't preinstalled on ubuntu-latest; the official installer
    is one less moving piece)
  - actions/setup-node WITHOUT registry-url (same lesson learned
    in publish-nodejs across v0.1.5–v0.1.7 — registry-url
    forces token-auth and bypasses OIDC)
  - npm install -g npm@latest (need 11.5+ for trusted
    publishing)
  - wasm-pack build --release --target bundler --scope joaoh82
    → produces sdk/wasm/pkg/ with auto-generated package.json
    naming the package @joaoh82/sqlrite-wasm
  - OIDC env diagnostics step (proven valuable on v0.1.7)
  - npm publish --access public --provenance --loglevel verbose
    from sdk/wasm/pkg
  - upload .wasm to sqlrite-wasm-vX.Y.Z GitHub Release

**Wiring:**

  - tag-all → pushes sqlrite-wasm-v<V>
  - finalize.needs → extended with publish-wasm
  - umbrella release body ... (continued)

4012 of 5995 relevant lines covered (66.92%)

1.23 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24936421084.1 25 Apr 2026 05:27PM UTC 29
66.92
GitHub Action Run
Source Files on build 24936421084
  • Tree
  • List 29
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 0d4f7158 on github
  • Prev Build on main (#24935728315)
  • Next Build on main (#24936489943)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc