diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 5fa54aa8..dbd93a41 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -6,6 +6,7 @@ on: - main permissions: + id-token: write contents: read jobs: @@ -27,8 +28,6 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: lts/* + node-version: 24.x registry-url: 'https://registry.npmjs.org' - - run: npm publish --access public - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + - run: npm publish --access public --provenance