Skip to content

Commit 1755560

Browse files
committed
update publish CI script
1 parent dc19b5f commit 1755560

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/npm-publish.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,14 @@ jobs:
88
build-and-publish:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v1
12-
- uses: actions/setup-node@v4
11+
- uses: actions/checkout@v5
12+
- name: Install WASM-Pack
13+
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
14+
- uses: actions/setup-node@v6
1315
with:
1416
node-version: "22.x"
1517
registry-url: https://registry.npmjs.org/
18+
- run: corepack enable # Enable Corepack
1619
- run: yarn install --frozen-lockfile --ignore-scripts
1720
- run: yarn build:release
1821
- run: yarn changeset publish

0 commit comments

Comments
 (0)