diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7644d1c40..d5da9c528 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -114,6 +114,15 @@ jobs: - name: Install emscripten uses: mymindstorm/setup-emsdk@v7 + - name: Install wasm-pack + run: cargo install wasm-pack + + - name: Unit tests + run: | + cd crates/matrix-sdk-base/ + wasm-pack test --node + wasm-pack test --firefox --headless --features indexeddb_state_store + - name: Check run: | cd crates/matrix-sdk/examples/wasm_command_bot