From c6450c91a5b2fedb2e49b36f2afb761f99308499 Mon Sep 17 00:00:00 2001 From: Carlos Cuesta Date: Wed, 10 Dec 2025 00:17:05 +0100 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=91=B7=20Enable=20`oidc`=20npm=20trus?= =?UTF-8?q?ted=20publishing?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/npm-publish.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 33c63ac1a..bcc058df3 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -3,6 +3,9 @@ on: push: tags: - 'v*' +permissions: + id-token: write + contents: read jobs: npm-publish: runs-on: ubuntu-latest @@ -17,12 +20,10 @@ jobs: run: pnpm install - name: Build 👷‍♂️ run: pnpm run build + - name: Update npm 🔧 + run: npm install -g npm@latest - name: Publish package to NPM 🚀 - env: - NPM_TOKEN: ${{ secrets.NPM_AUTOMATION_TOKEN }} - run: | - npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}" - npm publish + run: npm publish - name: Get branch names 🌳 id: branch-name uses: tj-actions/branch-names@v9 From a4309bd269e55255c4010574c0056fc04dd42183 Mon Sep 17 00:00:00 2001 From: Carlos Cuesta Date: Fri, 12 Dec 2025 00:15:34 +0100 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=94=A7=20Update=20`node`=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/npm-publish.yml | 2 -- .node-version | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index bcc058df3..edb616be0 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -20,8 +20,6 @@ jobs: run: pnpm install - name: Build 👷‍♂️ run: pnpm run build - - name: Update npm 🔧 - run: npm install -g npm@latest - name: Publish package to NPM 🚀 run: npm publish - name: Get branch names 🌳 diff --git a/.node-version b/.node-version index cc7ce7f49..54c65116f 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -v22.13.1 +v24