ci: docker_tag=ext - Fix CI workflow to verify WASM files instead of building them
All checks were successful
Build and Push Docker image (ext) / docker (push) Successful in 2m11s

This commit is contained in:
4NK CI Bot 2025-09-21 17:13:07 +00:00
parent 9db61039c6
commit 1542f0fe98

View File

@ -37,16 +37,14 @@ jobs:
ssh-private-key: |
${{ secrets.SSH_PRIVATE_KEY }}
- name: Build WebAssembly
- name: Verify WebAssembly files
run: |
set -euo pipefail
# Install Rust and wasm-pack
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source ~/.cargo/env
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
# Build the WebAssembly package
npm run build_wasm
# Verify that the pre-built WASM files are present
echo "Verifying WebAssembly files..."
ls -la pkg/
file pkg/sdk_client_bg.wasm
echo "WebAssembly files verified successfully"
- name: Extract docker tag from commit message (optional)
id: tag