Skip to content

Commit 9c5bb5b

Browse files
authored
ci: trusted publishing (eslint-community#549)
fixes eslint-community#548
1 parent 3309b29 commit 9c5bb5b

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
@@ -37,9 +37,8 @@ jobs:
3737
registry-url: https://registry.npmjs.org
3838
if: ${{ steps.release.outputs.release_created }}
3939
- run: |
40+
npm install -g npm@latest # npm 11.5.1 or later is required so update to latest to be sure
4041
npm install --force
4142
npm run build
4243
npm publish --provenance
43-
env:
44-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4544
if: ${{ steps.release.outputs.release_created }}

0 commit comments

Comments
 (0)