Skip to content

ci: upgrade wasm-pack to 0.14.0 #31

@darioAnongba

Description

@darioAnongba

Summary

Upgrade wasm-pack from 0.13.1 to 0.14.0. Currently CI shows:

[WARN]: ⚠️ There's a newer version of wasm-pack available, the new version is: 0.14.0

Problem

The current install method uses the installer/init.sh script from the wasm-pack repo, but this script was removed in v0.14.0. We're pinned to an old commit SHA that still has it.

Options

  1. Download binary from GitHub releases — fastest, no build step:
    curl -L https://github.com/rustwasm/wasm-pack/releases/download/v0.14.0/wasm-pack-v0.14.0-x86_64-unknown-linux-musl.tar.gz | tar xz
    mv wasm-pack-*/wasm-pack /usr/local/bin/
  2. cargo install wasm-pack — slower (~2-3 min compile) but always latest
  3. cargo binstall wasm-pack — fast binary install if cargo-binstall is available

Recommend option 1 for speed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium priority

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions