Skip to content

Commit d013429

Browse files
authored
Update publish.yaml
1 parent c276254 commit d013429

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/publish.yaml

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

66
permissions:
77
contents: read
8+
id-token: write
89

910
jobs:
1011
publish-npm:
@@ -24,6 +25,4 @@ jobs:
2425
- run: npm run compile
2526
- run: npm test
2627
- run: echo "Publishing string-offsets"
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)