From 2b1be0a9cdd16e51ab7bc1aa80f21b1f67311d52 Mon Sep 17 00:00:00 2001 From: David Shoen Date: Wed, 24 Jun 2026 14:29:38 +0300 Subject: [PATCH] updated npm publish yaml --- .github/workflows/node_sdk_publish.yaml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/node_sdk_publish.yaml b/.github/workflows/node_sdk_publish.yaml index ab6b1a2..99bbbb6 100644 --- a/.github/workflows/node_sdk_publish.yaml +++ b/.github/workflows/node_sdk_publish.yaml @@ -99,14 +99,7 @@ jobs: cat package.json - name: Publish package to NPM - run: | - if [[ "${{ github.event.release.prerelease }}" == "true" ]]; then - echo "Publishing as a release candidate (rc)..." - npm publish --access public --tag rc - else - echo "Publishing as the latest release..." - npm publish --access public - fi + run: npm publish # No NPM_TOKEN needed — authenticated via npm Trusted Publishing (OIDC), # which requires the job's `id-token: write` permission above plus a # Trusted Publisher configured on npmjs.com: