Skip to content
Open
Show file tree
Hide file tree
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
7 changes: 4 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: workflow_dispatch

permissions:
contents: write
id-token: write # REQUIRED for trusted publishing
id-token: write # REQUIRED for trusted publishing

jobs:
Release:
Expand All @@ -26,7 +26,7 @@ jobs:
with:
node-version: '24'
registry-url: 'https://registry.npmjs.org'
always-auth: false # important for trusted publishing
always-auth: false # important for trusted publishing

- name: Configure CI Git User
run: |
Expand All @@ -48,7 +48,8 @@ jobs:
- name: Semantic Publish to NPM 🚀
run: |
npm config set provenance true
HUSKY=0 npx semantic-release@25.0.5
HUSKY=0 npx --ignore-scripts semantic-release@25.0.5

env:
GH_TOKEN: ${{ secrets.RELEASE_COMMIT_GH_PAT }}
# REMOVED: NPM_TOKEN is not needed with trusted publishing
Expand Down
Loading
Loading