From e9e288e512b3d8ea94f3ab0b692002831ff1bc69 Mon Sep 17 00:00:00 2001 From: Max Katz Date: Thu, 17 Sep 2026 20:17:12 +0400 Subject: [PATCH 1/2] fix(release): enable npm trusted publishing --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cd8f615..b82cde0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,6 +32,9 @@ jobs: cache: pnpm registry-url: "https://registry.npmjs.org" + - name: Upgrade npm for trusted publishing + run: npm install --global npm@11.19.1 + - run: pnpm install --frozen-lockfile - name: Create Release Pull Request or Publish @@ -45,7 +48,6 @@ jobs: createGithubReleases: false env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} NPM_CONFIG_PROVENANCE: true - name: Create GitHub Release From 13f7e7b595a58016282351e5253327d231ce43ab Mon Sep 17 00:00:00 2001 From: Max Katz Date: Thu, 17 Sep 2026 20:24:17 +0400 Subject: [PATCH 2/2] fix(release): remove token npm configuration --- .github/workflows/release.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b82cde0..af4fa1d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,7 +30,6 @@ jobs: with: node-version: 22 cache: pnpm - registry-url: "https://registry.npmjs.org" - name: Upgrade npm for trusted publishing run: npm install --global npm@11.19.1