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