From bf1e022bd219f678b3865093d58595c6c8a67f1a Mon Sep 17 00:00:00 2001 From: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com> Date: Mon, 13 Apr 2026 14:32:30 +0100 Subject: [PATCH] chore(ci): switch publish to OIDC trusted publishing (#1839) --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1f64aab3..453a5f8e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -59,10 +59,12 @@ jobs: with: node-version: 24 cache: npm - registry-url: 'https://registry.npmjs.org' - run: npm ci + - name: Ensure npm CLI supports OIDC trusted publishing + run: npm install -g npm@11.5.1 + - name: Determine npm tag id: npm-tag run: | @@ -85,5 +87,3 @@ jobs: fi - run: npm publish --provenance --access public ${{ steps.npm-tag.outputs.tag }} - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}