chore: Update npm for OIDC trusted publishing support
- Use Node.js 22 - Install npm@latest (requires >= 11.5.1 for OIDC) - Remove --provenance flag (automatic with trusted publishing) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@@ -82,12 +82,16 @@ jobs:
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
node-version: '22'
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
|
||||
- name: Update npm for OIDC support
|
||||
run: npm install -g npm@latest
|
||||
|
||||
- name: Publish to npm
|
||||
run: |
|
||||
cd npm-package
|
||||
npm publish --access public --provenance
|
||||
npm publish --access public
|
||||
|
||||
update-homebrew:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user