Skip to content

Commit 8268820

Browse files
committed
ci(cli): publish npm with trusted publishing
1 parent 89f0fea commit 8268820

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ on:
2525

2626
permissions:
2727
contents: write
28+
id-token: write
2829

2930
jobs:
3031
release:
@@ -47,8 +48,6 @@ jobs:
4748
- run: pnpm pack:dry-run
4849
- name: Publish npm packages
4950
if: ${{ inputs.publish_npm }}
50-
env:
51-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5251
run: |
5352
if [ "${{ inputs.dry_run }}" = "true" ]; then
5453
pnpm publish:npm -- --dry-run

0 commit comments

Comments
 (0)