Skip to content

WASM Bundle With Demo App #7

WASM Bundle With Demo App

WASM Bundle With Demo App #7

Workflow file for this run

name: WASM
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "-Dwarnings"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Requirements
run: |
sudo apt-get update && sudo apt-get install binaryen
curl -fsSL https://rustwasm.github.io/wasm-pack/installer/init.sh | sh
curl -fsSL https://deno.land/x/install/install.sh | sh
echo "${HOME}/.deno/bin" >> "${GITHUB_PATH}"
- name: Versions
run: |
wasm-opt --version
wasm-pack --version
deno --version
- name: Tests
run: |
cd wasm
make test