From e2b59b57a0121b679f630247e5ff2789f7a73418 Mon Sep 17 00:00:00 2001 From: wyatt-avilla Date: Sat, 22 Jun 2024 16:17:16 -0700 Subject: [PATCH] trunk deps maybe --- .github/workflows/rust.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 3d24b94..34267f9 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -18,9 +18,16 @@ jobs: steps: - uses: actions/checkout@v4 - name: Build Backend - run: touch .env && cargo build --verbose + run: | + cd backend + touch .env + cargo build --verbose - name: Build Frontend - run: cargo install trunk && cd frontend && trunk build --release + run: | + cd frontend + cargo install trunk wasm-bindgen-cli + rustup target add wasm32-unknown-unknown + trunk build --release - name: Run tests run: cargo test --verbose - name: Run Clippy