682bf063ca
Prepare the first patch release after v1.0.0 by finalizing the outstanding release, packaging, and workflow fixes. This release keeps PyPI and crates.io publishing anchored to CI.yml, splits the large CI workflow into focused rust/python/wasm/docs suites, fixes the ci-complete gate, and updates the release SBOM action pin. It also switches the npm publish workflow to GitHub OIDC, installs the wasm32 target required for packaging, ensures the WASM npm tarball includes pkg/ artifacts during prepack, and adds a dedicated README plus docs.rs metadata for ferro_ta_core. Finally, bump all published package versions to 1.0.1 and record the patch release notes in CHANGELOG.md.
38 lines
879 B
YAML
38 lines
879 B
YAML
name: CI WASM
|
|
|
|
on:
|
|
workflow_call:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
wasm:
|
|
name: WASM binding (wasm-pack test --node)
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
|
|
- name: Install Rust (stable)
|
|
uses: dtolnay/rust-toolchain@v1
|
|
with:
|
|
toolchain: stable
|
|
targets: wasm32-unknown-unknown
|
|
|
|
- name: Install wasm-pack
|
|
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
|
|
|
|
- name: Build and test WASM binding
|
|
working-directory: wasm
|
|
run: wasm-pack test --node
|
|
|
|
- name: Build WASM package (nodejs target)
|
|
working-directory: wasm
|
|
run: wasm-pack build --target nodejs --out-dir pkg
|
|
|
|
- name: Upload WASM package artifact
|
|
uses: actions/upload-artifact@v7
|
|
with:
|
|
name: wasm-pkg
|
|
path: wasm/pkg/
|