Skip to content

Commit e2b59b5

Browse files
committed
trunk deps maybe
1 parent ee57883 commit e2b59b5

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/rust.yml

+9-2
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,16 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v4
2020
- name: Build Backend
21-
run: touch .env && cargo build --verbose
21+
run: |
22+
cd backend
23+
touch .env
24+
cargo build --verbose
2225
- name: Build Frontend
23-
run: cargo install trunk && cd frontend && trunk build --release
26+
run: |
27+
cd frontend
28+
cargo install trunk wasm-bindgen-cli
29+
rustup target add wasm32-unknown-unknown
30+
trunk build --release
2431
- name: Run tests
2532
run: cargo test --verbose
2633
- name: Run Clippy

0 commit comments

Comments
 (0)