ci: docker_tag=ext | cargo update wasm-bindgen*(0.2.103) js-sys/web-sys (0.3.80) before build
Some checks failed
Build and Push Docker image (ext) / docker (push) Failing after 3m41s

This commit is contained in:
4NK CI Bot 2025-09-18 11:32:46 +00:00
parent 70f3a30f64
commit 653b86fbc9

View File

@ -35,8 +35,14 @@ RUN --mount=type=ssh git clone -b dev ssh://git@git.4nkweb.com/4nk/sdk_client.gi
# Build du WebAssembly (cargo) + wasm-bindgen
WORKDIR /build/sdk_client
# Build standard sans reference-types (compatibilité wasm-bindgen)
RUN --mount=type=ssh cargo build --target wasm32-unknown-unknown --profile dev && \
# Harmoniser wasm-bindgen crate avec le CLI
RUN cargo update -p wasm-bindgen --precise 0.2.103 && \
cargo update -p wasm-bindgen-macro --precise 0.2.103 && \
cargo update -p wasm-bindgen-backend --precise 0.2.103 && \
cargo update -p wasm-bindgen-macro-support --precise 0.2.103 && \
cargo update -p js-sys --precise 0.3.80 && \
cargo update -p web-sys --precise 0.3.80 && \
cargo build --target wasm32-unknown-unknown --profile dev && \
wasm-bindgen target/wasm32-unknown-unknown/debug/sdk_client.wasm \
--out-dir /build/ihm_client/pkg \
--typescript \