From 2db4253f8117c13dcd57ac776e2c8f58637801fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Thu, 21 Aug 2025 08:21:34 +0200 Subject: [PATCH 1/2] chore: enable OIDC package publishing Refs: https://github.com/nodejs/admin/issues/998 --- .github/workflows/release-please.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 5fa54aa8..e3f0bbcd 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 }} From 44a39bc7c301b123254850cdfaa4bbf02a24dcc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Thu, 21 Aug 2025 10:17:45 +0200 Subject: [PATCH 2/2] Update .github/workflows/release-please.yml Co-authored-by: Antoine du Hamel --- .github/workflows/release-please.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index e3f0bbcd..dbd93a41 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -30,4 +30,4 @@ jobs: with: node-version: 24.x registry-url: 'https://registry.npmjs.org' - - run: npm publish --access public + - run: npm publish --access public --provenance