Skip to content

Commit 4cef34e

Browse files
authored
1 parent d721a4f commit 4cef34e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/npm-publish.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ on:
1010
jobs:
1111
deploy:
1212
runs-on: ubuntu-latest
13+
permissions:
14+
id-token: write
1315
steps:
1416
- uses: actions/checkout@v4
1517
- name: Use Node.js ${{ matrix.node-version }}
@@ -23,6 +25,6 @@ jobs:
2325
- run: npm version ${TAG_NAME} --git-tag-version=false
2426
env:
2527
TAG_NAME: ${{ github.event.release.tag_name }}
26-
- run: npm publish
28+
- run: npm publish --provenance --access public
2729
env:
2830
NODE_AUTH_TOKEN: ${{ secrets.npm_token }}

0 commit comments

Comments
 (0)