Skip to content

Commit

Permalink
Run wasm-pack tests as a part of the CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ndebuhr committed Jan 22, 2021
1 parent 5e1b76f commit b656fae
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
name: CI

on:
push:
branches: [ main ]
Expand Down Expand Up @@ -25,10 +27,10 @@ jobs:
- uses: actions/checkout@v2
- name: Install Rust
run: rustup update stable && rustup default stable
- name: Build sim with wasm-pack
- name: Run wasm-pack tests
run: |
cargo install --git https://github.com/rustwasm/wasm-pack.git
wasm-pack build
wasm-pack test --node
rustfmt:
name: Rustfmt
Expand Down

0 comments on commit b656fae

Please sign in to comment.