From 24d3bd82c0fe361994de68fd6d4ebbc9bb01b02b Mon Sep 17 00:00:00 2001 From: baoyachi Date: Fri, 8 Dec 2023 14:33:35 +0800 Subject: [PATCH] fix --- .github/workflows/check.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 4adf075..2493b63 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -64,10 +64,14 @@ jobs: working-directory: ./example_shadow_hook # example_wasm check - - name: Setup wasm-pack - uses: jetli/wasm-pack-action@v0.4.0 + - uses: jetli/wasm-pack-action@v0.4.0 with: version: latest + - name: Setup wasm-pack + run: | + cargo b + wasm-pack build --target bundler + wasm-pack build --target web working-directory: ./example_wasm # build on nightly