The open-source CapCut alternative
fix: build wasm before bun install in CI
Maze Winther0f5dca4f12d9
diff --git a/.github/workflows/bun-ci.yml b/.github/workflows/bun-ci.ymlindex 9c34f977..58198586 100644--- a/.github/workflows/bun-ci.yml+++ b/.github/workflows/bun-ci.yml@@ -41,6 +41,26 @@ jobs:- name: Checkout repositoryuses: actions/checkout@v4+ - name: Install Rust wasm target+ run: rustup target add wasm32-unknown-unknown++ - name: Install wasm-pack+ uses: jetli/[email protected]+ with:+ version: latest++ - name: Cache Rust build artifacts+ uses: actions/cache@v4+ with:+ path: |+ ~/.cargo/registry+ ~/.cargo/git+ target+ key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }}++ - name: Build WASM+ run: wasm-pack build rust/wasm --target bundler --out-dir pkg+- name: Install Bunuses: oven-sh/setup-bun@735343b667d3e6f658f44d0eca948eb6282f2b76with: