emit_web 0.2.2

Instrument Web-based applications using emit.
Documentation
name: web

on: [push, pull_request]

env:
  CARGO_TERM_COLOR: always

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout sources
        uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab

      - name: Install Rust toolchain
        run: rustup default nightly

      - name: Install wasm32v1-none
        run: rustup target add wasm32v1-none

      - name: Embedded
        run: cargo check --target wasm32v1-none -Zavoid-dev-deps

      - name: Install
        run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh

      - name: Default features
        run: wasm-pack test --node

      - name: Example
        working-directory: example
        run: wasm-pack build --target web