chore(ci): lock version of wasm-pack to fix tfhe-rs build

This commit is contained in:
David Testé
2024-07-08 16:26:35 +02:00
committed by Arthur Meyre
parent 6e4ea82db8
commit d632c916c2

View File

@@ -117,7 +117,7 @@ install_cargo_nextest: install_rs_build_toolchain
.PHONY: install_wasm_pack # Install wasm-pack to build JS packages
install_wasm_pack: install_rs_build_toolchain
@wasm-pack --version > /dev/null 2>&1 || \
cargo $(CARGO_RS_BUILD_TOOLCHAIN) install wasm-pack || \
cargo $(CARGO_RS_BUILD_TOOLCHAIN) install --locked wasm-pack@0.12.1 || \
( echo "Unable to install cargo wasm-pack, unknown error." && exit 1 )
.PHONY: install_node # Install last version of NodeJS via nvm