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