From 888df59e8855a98f7e72a07331d8aefb496b5c13 Mon Sep 17 00:00:00 2001 From: Stinobe Date: Thu, 14 May 2026 21:08:50 +0200 Subject: [PATCH 1/2] Fix config --- .github/workflows/release.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 05f57d5..a40aa3e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,6 +9,7 @@ permissions: contents: write pull-requests: write id-token: write + packages: write concurrency: ${{ github.workflow }}-${{ github.ref }} @@ -57,8 +58,6 @@ jobs: - name: Release to GitHub if: steps.changesets.outputs.hasChangesets == 'false' run: | - pnpm config set registry "https://npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}" + pnpm config set registry "https://npm.pkg.github.com" pnpm publish --no-git-checks - env: - NODE_AUTH_TOKEN: ${{ secrets.GH_PUBLISH_TOKEN }} From 95ad75077e3065b96b4cdbaa65461ca966811990 Mon Sep 17 00:00:00 2001 From: Stinobe Date: Thu, 14 May 2026 21:29:04 +0200 Subject: [PATCH 2/2] Tryout --- .github/workflows/release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a40aa3e..9c22259 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,6 @@ permissions: contents: write pull-requests: write id-token: write - packages: write concurrency: ${{ github.workflow }}-${{ github.ref }} @@ -58,6 +57,9 @@ jobs: - name: Release to GitHub if: steps.changesets.outputs.hasChangesets == 'false' run: | + pnpm config set //npm.pkg.github.com/:_authToken "${NODE_AUTH_TOKEN}" pnpm config set registry "https://npm.pkg.github.com" - pnpm publish --no-git-checks + pnpm publish --registry "https://npm.pkg.github.com" --no-git-checks + env: + NODE_AUTH_TOKEN: ${{ secrets.GH_PUBLISH_TOKEN }}