Skip to content

ci: add workflow to check wasm-pack build #2

ci: add workflow to check wasm-pack build

ci: add workflow to check wasm-pack build #2

name: CI wasm-check
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
wasm-ci:
name: Check wasm build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
components: rustfmt
- name: Install wasm-pack
run: |
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- name: wasm build
shell: bash
run: make euclid-wasm