From bfd19f3dcf70d64b7854808deda0d79cb1c0fbbd Mon Sep 17 00:00:00 2001 From: Harold Dost Date: Mon, 19 Feb 2024 02:03:49 +0100 Subject: [PATCH] Add WASM build to test compatibility --- .github/workflows/wasm-build.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/wasm-build.yml diff --git a/.github/workflows/wasm-build.yml b/.github/workflows/wasm-build.yml new file mode 100644 index 0000000000..83ac2797b3 --- /dev/null +++ b/.github/workflows/wasm-build.yml @@ -0,0 +1,14 @@ +on: [push, pull_request] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Install wasm-pack + run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh + - name: Test chrome + run: wasm-pack test --headless --chrome + - name: Test firefox + run: wasm-pack test --headless --firefox +