Skip to content

Commit

Permalink
update: #523: npmパッケージにプロべナンスを付与するための設定を追加
Browse files Browse the repository at this point in the history
  • Loading branch information
YuukiToriyama committed Nov 10, 2024
1 parent a4cf136 commit f34ceb0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/upload-npmjs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
publish:
runs-on: ubuntu-latest
environment: npmjs
permissions:
id-token: write
defaults:
run:
working-directory: wasm
Expand Down Expand Up @@ -48,6 +50,6 @@ jobs:
- name: Upload wasm to npmjs.com
run: |
cd pkg
npm publish --access public
npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_REGISTRY_TOKEN }}

0 comments on commit f34ceb0

Please sign in to comment.