From d9fa7b013ced3b438c6ee62d8369d25150e76054 Mon Sep 17 00:00:00 2001 From: Anand Krishnamoorthi Date: Sun, 28 Jan 2024 15:29:36 -0800 Subject: [PATCH] Fix publish-wasm Signed-off-by: Anand Krishnamoorthi --- .github/workflows/publish-wasm.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-wasm.yml b/.github/workflows/publish-wasm.yml index e8698f86..fb92be96 100644 --- a/.github/workflows/publish-wasm.yml +++ b/.github/workflows/publish-wasm.yml @@ -23,9 +23,10 @@ jobs: - name: Install wasm-pack run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh - name: Build - run: wasm-pack build --target nodejs -r + run: wasm-pack build --target nodejs --release + working-directory: ./bindings/wasm - name: Publish run: wasm-pack publish --target nodejs + working-directory: ./bindings/wasm env: NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} -