From 75563721fe3a602eacf394f5b5ccfbb52a70cae1 Mon Sep 17 00:00:00 2001 From: Jeeva Ramachandran <120017870+JeevaRamu0104@users.noreply.github.com> Date: Tue, 17 Dec 2024 15:53:52 +0530 Subject: [PATCH] ci: add workflow to check wasm-pack build (#6842) --- .github/workflows/wasm-bulild-check.yml | 34 +++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/wasm-bulild-check.yml diff --git a/.github/workflows/wasm-bulild-check.yml b/.github/workflows/wasm-bulild-check.yml new file mode 100644 index 000000000000..d9b2860a361e --- /dev/null +++ b/.github/workflows/wasm-bulild-check.yml @@ -0,0 +1,34 @@ +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: stable 2 weeks ago + + - name: Install wasm-pack + uses: taiki-e/install-action@v2 + with: + tool: wasm-pack + checksum: true + + - name: wasm build + shell: bash + run: make euclid-wasm