From 14921eb06bd419c63b0a2086a6ea25d6bafd2cb7 Mon Sep 17 00:00:00 2001 From: CI Date: Wed, 14 Jan 2026 13:02:54 +0100 Subject: [PATCH] ci: enable oidc publish --- .github/workflows/publish-release.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 3454311..d47627e 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -6,7 +6,7 @@ jobs: name: Install and publish runs-on: ubuntu-latest permissions: - id-token: write + id-token: write # Required for OIDC contents: write # allows this workflow to commit to the repo steps: - name: Checkout @@ -24,6 +24,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: 'lts/*' + registry-url: 'https://registry.npmjs.org' - name: Enable Corepack and Use Correct Yarn Version run: | @@ -68,9 +69,6 @@ jobs: - name: Build lib run: yarn prepare - - name: Authenticate with registry - run: npm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_AUTOMATION_TOKEN }} - - name: Publish run: | chmod +x ./scripts/add_build_number.sh