diff --git a/.github/workflows/tauri-pr-build.yml b/.github/workflows/tauri-pr-build.yml index 1924a9f1..9589ea74 100644 --- a/.github/workflows/tauri-pr-build.yml +++ b/.github/workflows/tauri-pr-build.yml @@ -34,7 +34,7 @@ jobs: uses: dtolnay/rust-toolchain@stable with: components: rustfmt, clippy - targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }} + targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin,wasm32-unknown-unknown' || 'wasm32-unknown-unknown' }} - name: Install dependencies (ubuntu only) if: contains(matrix.platform, 'ubuntu') diff --git a/.github/workflows/tauri-publish.yml b/.github/workflows/tauri-publish.yml index a54a8db4..3dc339ea 100644 --- a/.github/workflows/tauri-publish.yml +++ b/.github/workflows/tauri-publish.yml @@ -32,7 +32,7 @@ jobs: uses: dtolnay/rust-toolchain@stable with: components: rustfmt, clippy - targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }} + targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin,wasm32-unknown-unknown' || 'wasm32-unknown-unknown' }} - name: Install dependencies (ubuntu only) if: contains(matrix.platform, 'ubuntu') @@ -67,10 +67,6 @@ jobs: cd src-tauri cargo clippy -- -D warnings - - name: Install frontend dependencies - run: | - rustup target add wasm32-unknown-unknown - - name: Run tests run: | cargo test