We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d663a1 commit 2e64868Copy full SHA for 2e64868
.github/workflows/hyperclient.yml
@@ -18,8 +18,16 @@ jobs:
18
node-version: '20.x'
19
registry-url: 'https://registry.npmjs.org'
20
scope: '@polytope-labs'
21
- - run: |
22
- cd modules/client/pkg
23
- npm publish --access public
+
+ - name: Install wasm-pack
+ run: |
24
+ curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
25
+ rustup target add wasm32-unknown-unknown
26
27
+ - name: Build and Publish
28
+ working-directory: modules/client
29
env:
30
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
31
32
+ wasm-pack build --release --no-default-features --features=wasm
33
+ npm publish --access public
0 commit comments