fix(release): harden semantic-release publishing

This commit is contained in:
Kieran Klaassen
2026-03-02 21:17:28 -08:00
parent 8fd1670ee2
commit ea21196cf1
2 changed files with 17 additions and 1 deletions

View File

@@ -39,8 +39,10 @@ jobs:
with:
# npm trusted publishing requires Node 22.14.0+.
node-version: "24"
registry-url: "https://registry.npmjs.org"
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release