mirror of
https://github.com/lancedikson/bowser
synced 2026-03-02 03:40:27 +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:
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
@@ -58,5 +58,7 @@ jobs:
|
||||
with:
|
||||
node-version: 20
|
||||
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
|
||||
run: npm publish --provenance --access public
|
||||
Reference in New Issue
Block a user