From 814d16755e95d4f4e69b736c7917d578beb6d881 Mon Sep 17 00:00:00 2001 From: Pavlo Myroniuk Date: Sat, 7 Dec 2024 00:22:07 +0200 Subject: [PATCH] Add build step to check-pr CI job --- .github/workflows/check-pr.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check-pr.yml b/.github/workflows/check-pr.yml index edb69937..ac7017c8 100644 --- a/.github/workflows/check-pr.yml +++ b/.github/workflows/check-pr.yml @@ -27,4 +27,10 @@ jobs: run: 'cargo clippy --all-targets -- -D warnings' - name: 'Tests' - run: 'cargo test' \ No newline at end of file + run: 'cargo test' + + - name: 'Add WASM target' + run: 'rustup target add wasm32-unknown-unknown' + + - name: 'Build WASM' + run: 'cargo build --target wasm32-unknown-unknown' \ No newline at end of file