Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

ci: add workflow to check wasm-pack build (#6842)

Jeeva Ramachandran75563721fe3a
diff --git a/.github/workflows/wasm-bulild-check.yml b/.github/workflows/wasm-bulild-check.yml
new file mode 100644
index 0000000000..d9b2860a36
--- /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