Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,10 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: '20'
# No registry-url - npm will use OIDC automatically for trusted publishing
registry-url: 'https://registry.npmjs.org'

- name: Update npm for OIDC support
run: npm install -g npm@latest

- name: Extract version
id: version
Expand All @@ -198,7 +201,9 @@ jobs:
cd packages/npm
npm version ${{ steps.version.outputs.VERSION }} --no-git-tag-version --allow-same-version

- name: Publish to npm with provenance
- name: Publish to npm with OIDC
run: |
cd packages/npm
npm publish --access public --provenance
npm publish --access public
env:
NPM_CONFIG_PROVENANCE: true
Loading