Skip to content

Commit 62bc73d

Browse files
authored
Remove NPM_TOKEN requirement from publish step, using OIDC instead (#298)
1 parent 48f9d90 commit 62bc73d

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,4 @@ jobs:
6565
- run: npm ci
6666
- run: node scripts/update-version.js # ensure the version in version.ts is updated
6767
- run: npm run build
68-
- run: npm publish --access public
69-
env:
70-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
68+
- run: npm publish # no token needed, using OIDC instead

0 commit comments

Comments
 (0)