Skip to content

Commit d55d965

Browse files
committed
chore: Fix Wasm publish action
1 parent 3ea7e26 commit d55d965

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/publish-core.yml

+2
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,8 @@ jobs:
567567
- name: Publish
568568
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
569569
run: |
570+
npm config set provenance true
571+
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
570572
(cd bindings/${{ matrix.settings.crate }}/pkg && npm publish --access public --tag $NPM_TAG)
571573
env:
572574
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)