From 4856845d659446d1559dde7f73516b9d7674264b Mon Sep 17 00:00:00 2001 From: Simon Laux Date: Thu, 28 Sep 2023 19:26:26 +0200 Subject: [PATCH] add ci test --- .github/workflows/smoketest-wasm.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/smoketest-wasm.yml diff --git a/.github/workflows/smoketest-wasm.yml b/.github/workflows/smoketest-wasm.yml new file mode 100644 index 0000000..01fe870 --- /dev/null +++ b/.github/workflows/smoketest-wasm.yml @@ -0,0 +1,14 @@ +on: [push, pull_request] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Install + run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh + + - run: cargo test + - run: wasm-pack test --headless --chrome + - run: wasm-pack test --headless --firefox \ No newline at end of file