install wasm-pack with cargo

This commit is contained in:
damirka 2021-09-23 19:24:43 +03:00
parent dbf40f9d23
commit e33b41ea1c

View File

@ -44,7 +44,7 @@ jobs:
toolchain: stable toolchain: stable
override: true override: true
- name: Install wasm-pack - name: Install wasm-pack
run: npm install -g wasm-pack run: cargo install wasm-pack
- name: Run wasm-pack - name: Run wasm-pack
run: wasm-pack build --dev --target nodejs run: wasm-pack build --dev --target nodejs
- name: Install dependencies and run tests - name: Install dependencies and run tests