fix: Add WASM target and npm install for CI build
This commit is contained in:
3
.github/workflows/build-mips.yml
vendored
3
.github/workflows/build-mips.yml
vendored
@@ -17,6 +17,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
|
with:
|
||||||
|
targets: wasm32-unknown-unknown
|
||||||
|
|
||||||
- name: Install Trunk
|
- name: Install Trunk
|
||||||
uses: jetli/trunk-action@v0.5.0
|
uses: jetli/trunk-action@v0.5.0
|
||||||
@@ -26,6 +28,7 @@ jobs:
|
|||||||
- name: Build Frontend
|
- name: Build Frontend
|
||||||
run: |
|
run: |
|
||||||
cd frontend
|
cd frontend
|
||||||
|
npm install
|
||||||
trunk build --release
|
trunk build --release
|
||||||
|
|
||||||
- name: Install Cross
|
- name: Install Cross
|
||||||
|
|||||||
Reference in New Issue
Block a user