Skip to content

Commit 4b28588

Browse files
authored
Merge pull request #114 from github/gracepark-patch-1
Update publish.yaml
2 parents c276254 + d013429 commit 4b28588

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)