File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
- name : CI wasm
1
+ name : WASM CI
2
2
3
3
on :
4
4
push :
7
7
- " bindings/wasm/**"
8
8
- " .github/workflows/**"
9
9
tags :
10
- - " node *"
10
+ - " wasm *"
11
11
pull_request :
12
12
branches : ["master"]
13
13
paths :
@@ -45,16 +45,16 @@ jobs:
45
45
target : wasm32-unknown-unknown
46
46
- name : Install wasm-bindgen-cli
47
47
run : cargo install wasm-bindgen-cli --version 0.2.92
48
+ - name : Install wasm-pack
49
+ run : cargo install wasm-pack
48
50
- name : Build wasm
49
- working-directory : js /wasm
51
+ working-directory : ./bindings /wasm
50
52
run : wasm-pack build --target web --release --out-dir pkg
51
53
- uses : actions/setup-node@v2
52
54
with :
53
55
node-version : " 20.x"
54
56
registry-url : " https://registry.npmjs.org"
55
- - working-directory : bindings/wasm/pkg
56
- run : npm install
57
- - working-directory : bindings/wasm/pkg
57
+ - working-directory : ./bindings/wasm/pkg
58
58
run : npm publish
59
59
env :
60
60
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments