Skip to content

Commit f0027c6

Browse files
committed
updating to use github action as trusted publisher
1 parent 0566ad2 commit f0027c6

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
pull_request:
66
branches: [master]
77

8+
permissions:
9+
id-token: write
10+
contents: read
11+
812
env:
913
FORCE_COLOR: 1
1014

@@ -23,8 +27,6 @@ jobs:
2327
- run: npm pack --dry-run
2428
- run: npm publish
2529
if: startsWith(github.ref, 'refs/tags/') && github.event_name != 'pull_request'
26-
env:
27-
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
2830
- uses: actions/upload-artifact@v4
2931
if: ${{ failure() }}
3032
with:

0 commit comments

Comments
 (0)