Skip to content

Commit

Permalink
Add build-wasm step
Browse files Browse the repository at this point in the history
  • Loading branch information
cwlittle committed Aug 4, 2023
1 parent c1fecac commit cbdaa5d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,22 @@ jobs:
command: check
args: --manifest-path rest/Cargo.toml --verbose

build-wasm:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2023-05-08
override: true
- name: Install
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- name: Build Wasm
working-directory: ./wasm
run: wasm-pack -v build --target web

coverage:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit cbdaa5d

Please sign in to comment.