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:
Steve Yegge
2025-11-29 21:49:17 -08:00
parent 2614d8b221
commit 214da06d59

View File

@@ -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