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:
parent
2bb8caee93
commit
740d6c4844
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
@ -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
|
||||||
Loading…
Reference in New Issue
Block a user