Skip to content

Commit 9ff319c

Browse files
authored
chore: Use oidc for release-please (npm auth) (#320)
1 parent bd1596a commit 9ff319c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/release-please.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
permissions:
77
contents: write
88
pull-requests: write
9+
id-token: write
910

1011
name: Run Release Please
1112
jobs:
@@ -42,6 +43,4 @@ jobs:
4243
# See: https://github.com/lerna/lerna/tree/main/commands/publish#bump-from-package
4344
- name: Publish to NPM
4445
if: ${{ steps.release.outputs.releases_created }}
45-
env:
46-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
4746
run: npx lerna publish from-package --no-push --no-private --no-verify-access --yes

0 commit comments

Comments
 (0)