Skip to content

Commit 99032c3

Browse files
authored
ci: trusted publishing (#180)
1 parent 5e096f2 commit 99032c3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/release-please.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,11 @@ jobs:
4646
node-version: lts/*
4747
registry-url: https://registry.npmjs.org
4848

49+
# npm 11.5.1 or later is required so update to latest to be sure
50+
- name: Update npm
51+
run: npm install -g npm@latest
52+
4953
- name: Publish to NPM
50-
env:
51-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5254
run: npm publish --access public --provenance
5355

5456
# Tweets out release announcement

0 commit comments

Comments
 (0)