Skip to content

Commit a658cb3

Browse files
committed
refactor(ci): update publish scripts
1 parent 4f63b80 commit a658cb3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,13 @@ jobs:
4242
env:
4343
WASM_OPT: 1
4444

45+
# Ensure npm 11.5.1 or later is installed
46+
- name: Update npm
47+
run: npm install -g npm@latest
48+
4549
- name: Publish to npm
4650
working-directory: pkg
4751
run: npm publish --provenance
48-
env:
49-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5052

5153
- uses: actions/setup-node@v4
5254
with:

0 commit comments

Comments
 (0)