Skip to content

Commit 05572c3

Browse files
authored
Update publish.yml
1 parent dea843f commit 05572c3

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66

77
permissions:
88
contents: read
9+
id-token: write
910

1011
jobs:
1112
publish-npm:
@@ -24,6 +25,4 @@ jobs:
2425
npm version ${TAG_NAME} --git-tag-version=false
2526
env:
2627
TAG_NAME: ${{github.event.release.tag_name}}
27-
- run: npm whoami; npm --ignore-scripts publish
28-
env:
29-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
28+
- run: npm --ignore-scripts publish --provenance

0 commit comments

Comments
 (0)