From da5f81d8b4d1f6e8d0528d17e6e2606a0f647f6b Mon Sep 17 00:00:00 2001 From: porink0424 Date: Fri, 31 May 2024 10:52:42 +0900 Subject: [PATCH] Install wasm-pack before building rustlib --- .github/workflows/typescript-tests.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/typescript-tests.yml b/.github/workflows/typescript-tests.yml index 5ac1c701..5593f52a 100644 --- a/.github/workflows/typescript-tests.yml +++ b/.github/workflows/typescript-tests.yml @@ -52,7 +52,9 @@ jobs: - name: Build rustlib for standalone_app working-directory: rustlib - run: wasm-pack build --target web + run: | + curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh + wasm-pack build --target web - name: Type Check standalone_app working-directory: standalone_app