diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cd8f615..af4fa1d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,7 +30,9 @@ 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 - run: pnpm install --frozen-lockfile @@ -45,7 +47,6 @@ jobs: createGithubReleases: false env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} NPM_CONFIG_PROVENANCE: true - name: Create GitHub Release