We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e0ec34 commit 6174562Copy full SHA for 6174562
1 file changed
.github/workflows/publish_npm_package.yaml
@@ -7,6 +7,9 @@ on:
7
jobs:
8
publish:
9
runs-on: ubuntu-latest
10
+ permissions:
11
+ contents: write
12
+ id-token: write
13
14
steps:
15
- name: Checkout sources
@@ -21,7 +24,8 @@ jobs:
21
24
- name: Install Node.js
22
25
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
23
26
with:
- node-version: 22
27
+ node-version: 24
28
+ registry-url: https://registry.npmjs.org/
29
30
- name: Install wasm-pack
31
run: cargo install --locked wasm-pack
@@ -33,6 +37,6 @@ jobs:
33
37
run: cargo install --locked wasm-bindgen-cli
34
38
35
39
- name: Build and publish package
36
- run: cd js-wasm && npm login && npm publish --access public
40
+ run: cd js-wasm && npm publish --access public
41
env:
42
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments