Skip to content

Commit c350090

Browse files
committed
chore(ci): use npm oidc for releases
1 parent 869c695 commit c350090

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- "v*"
77

88
permissions:
9-
id-token: write
9+
id-token: write # Required for OIDC publishing on npm
1010
contents: write
1111

1212
jobs:
@@ -64,9 +64,6 @@ jobs:
6464
else
6565
pnpm publish -r --access=public --no-git-checks
6666
fi
67-
env:
68-
NPM_CONFIG_PROVENANCE: true
69-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
7067
7168
- name: Create a draft release
7269
run: |

0 commit comments

Comments
 (0)