Skip to content

Commit d27b585

Browse files
authored
ci: trusted publishing (#492)
1 parent 8af9c86 commit d27b585

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/release-please.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,9 @@ jobs:
2525
registry-url: https://registry.npmjs.org
2626
if: ${{ steps.release.outputs.release_created }}
2727
- run: |
28+
npm install -g npm@latest # npm 11.5.1 or later is required so update to latest to be sure
2829
npm install
2930
npm publish --provenance
30-
env:
31-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3231
if: ${{ steps.release.outputs.release_created }}
3332
# - run: 'npx @humanwhocodes/tweet "espree ${{ steps.release.outputs.tag_name }} has been released: ${{ steps.release.outputs.html_url }}"'
3433
# if: ${{ steps.release.outputs.release_created }}

0 commit comments

Comments
 (0)