Skip to content

Commit 3c82016

Browse files
committed
ci: update workflow name and tag filter for WASM bindings
1 parent 4da0ffb commit 3c82016

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci-wasm.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI wasm
1+
name: WASM CI
22

33
on:
44
push:
@@ -7,7 +7,7 @@ on:
77
- "bindings/wasm/**"
88
- ".github/workflows/**"
99
tags:
10-
- "node*"
10+
- "wasm*"
1111
pull_request:
1212
branches: ["master"]
1313
paths:
@@ -45,16 +45,16 @@ jobs:
4545
target: wasm32-unknown-unknown
4646
- name: Install wasm-bindgen-cli
4747
run: cargo install wasm-bindgen-cli --version 0.2.92
48+
- name: Install wasm-pack
49+
run: cargo install wasm-pack
4850
- name: Build wasm
49-
working-directory: js/wasm
51+
working-directory: ./bindings/wasm
5052
run: wasm-pack build --target web --release --out-dir pkg
5153
- uses: actions/setup-node@v2
5254
with:
5355
node-version: "20.x"
5456
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
5858
run: npm publish
5959
env:
6060
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)