From 96ab7787f89b57d39a83bdafb1572eac6b0aac18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobi=20L=C3=BCtke?= Date: Wed, 20 May 2026 00:19:46 +0000 Subject: [PATCH] Use npm trusted publishing --- .github/workflows/publish.yml | 5 ++--- CHANGELOG.md | 4 ++++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index fe1b424..a62f9fd 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -32,13 +32,12 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: 22 + node-version: 24 registry-url: https://registry.npmjs.org + package-manager-cache: false - run: npm run build - run: npm publish --provenance --access public - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Extract release notes id: notes diff --git a/CHANGELOG.md b/CHANGELOG.md index c5972a9..132712a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## [Unreleased] +### Changes + +- Release: publish from GitHub Actions via npm Trusted Publishing/OIDC instead of a long-lived `NPM_TOKEN` secret. + ## [2.5.0] - 2026-05-19 ### Changes