From 4c09be7344c45d9d64e9034ad68f58194c324626 Mon Sep 17 00:00:00 2001 From: Richard Herman Date: Fri, 9 Jan 2026 12:45:31 +0000 Subject: [PATCH] build: switch to trusted publisher --- .github/workflows/release.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e98f73f..5c28e57 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: permissions: contents: read - id-token: write + id-token: write # Required for OIDC steps: - name: "📥 Checkout" @@ -25,7 +25,7 @@ jobs: - name: "🗃️ Setup Node" uses: actions/setup-node@v4 with: - node-version: "20.19.0" + node-version: "24" registry-url: "https://registry.npmjs.org" - name: "📐 Install dependencies" @@ -42,6 +42,4 @@ jobs: id: pkg - name: "📤 Publish" - run: npm publish --provenance --access public --tag ${{ steps.pkg.outputs.version-tag }} - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + run: npm publish --tag ${{ steps.pkg.outputs.version-tag }}