ci: docker_tag=ext | wasm-build: force reference-types for wasm-bindgen
Some checks failed
Build and Push Docker image (ext) / docker (push) Failing after 1m52s

This commit is contained in:
4NK CI Bot 2025-09-18 10:37:39 +00:00
parent 7a52bb2ee7
commit c89d956821

View File

@ -33,7 +33,8 @@ RUN --mount=type=ssh git clone -b dev ssh://git@git.4nkweb.com/4nk/sdk_client.gi
# Build du WebAssembly avec accès SSH pour les dépendances
WORKDIR /build/sdk_client
RUN --mount=type=ssh wasm-pack build --out-dir ../ihm_client/pkg --target bundler --dev
# Activer explicitement reference-types pour résoudre l'erreur wasm-bindgen
RUN --mount=type=ssh RUSTFLAGS="-C target-feature=+reference-types" wasm-pack build --out-dir ../ihm_client/pkg --target bundler --dev
FROM node:20-alpine
WORKDIR /app