1
0
mirror of https://github.com/lancedikson/bowser synced 2026-02-10 01:50:10 +00:00

Update npm to latest version before publishing to npm registry (#603)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Denis Demchenko 2026-02-08 23:37:11 +02:00 committed by GitHub
parent 2bb8caee93
commit 740d6c4844
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -58,5 +58,7 @@ jobs:
with: with:
node-version: 20 node-version: 20
registry-url: "https://registry.npmjs.org" registry-url: "https://registry.npmjs.org"
- name: Update npm to latest (trusted publishing requires npm >= 11.5.1)
run: npm install -g npm@latest
- name: Publish to npm - name: Publish to npm
run: npm publish --provenance --access public run: npm publish --provenance --access public