tsify 0.5.8

Tsify is a library for generating TypeScript definitions from rust code.
Documentation
name: Setup test environment
description: >
    Everything ./test.sh needs (Node.js, stable Rust, wasm-pack,
    cargo-expand), plus a fresh dependency resolution: Cargo.lock is
    gitignored, so every run resolves the latest compatible versions —
    what downstream users actually get.

outputs:
    wasm-bindgen-version:
        description: The wasm-bindgen version this run resolved.
        value: ${{ steps.resolve.outputs.wasm_bindgen }}

runs:
    using: composite
    steps:
        - name: Setup Node.js
          uses: actions/setup-node@v4
          with:
              node-version: "24"

        # rustup ships on the runner; the archived actions-rs/toolchain action
        # (node12) only wrapped these same rustup calls.
        - name: Install toolchain
          shell: bash
          run: rustup toolchain install stable --profile minimal --component rustfmt --override

        - name: Install wasm-pack
          uses: jetli/wasm-pack-action@v0.4.0
          with:
              # specify exact version to work around
              # https://github.com/jetli/wasm-pack-action/issues/23
              version: v0.14.0

        # cargo-expand's output shape feeds the snapshots, so an unpinned
        # upgrade would read as codegen drift and misattribute the cause.
        - name: Add cargo-expand
          shell: bash
          run: cargo install cargo-expand --version 1.0.124 --locked

        # Log the resolved wasm-bindgen version so failures can be attributed
        # to a dependency release vs. a toolchain change.
        - name: Resolve dependencies
          id: resolve
          shell: bash
          run: |
              cargo generate-lockfile
              WB_VERSION="$(cargo pkgid wasm-bindgen)"
              WB_VERSION="${WB_VERSION##*@}"
              echo "wasm_bindgen=$WB_VERSION" >> "$GITHUB_OUTPUT"
              {
                echo "Resolved wasm-bindgen: $WB_VERSION"
                rustc --version
              } | tee -a "$GITHUB_STEP_SUMMARY"