Skip to content

Commit 25bb2ba

Browse files
committed
reorder build and use project build
1 parent 22b685f commit 25bb2ba

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/ci.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,15 @@ jobs:
6363
with:
6464
deno-version: v2.x
6565
- run: cargo install cargo-zigbuild wasm-bindgen-cli
66+
- run: make build
67+
- working-directory: ./js
68+
run: |
69+
npx jsr publish --allow-slow-types
70+
# Why NPM...??
71+
rm **/.gitignore
72+
npm publish --provenance --access public
73+
env:
74+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
6675
# https://github.com/rust-cross/cargo-zigbuild/issues/18#issuecomment-1076428026
6776
- name: macOS - Test build with SDKROOT
6877
run: |
@@ -79,12 +88,3 @@ jobs:
7988
env:
8089
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8190
SDKROOT: /tmp/MacOSX11.3.sdk
82-
- working-directory: ./js
83-
run: |
84-
make build
85-
npx jsr publish --allow-slow-types
86-
# Why NPM...??
87-
rm **/.gitignore
88-
npm publish --provenance --access public
89-
env:
90-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)