From 8f8ad47eb961afbcfcf2d39659e3c0ec2fc0c69f Mon Sep 17 00:00:00 2001 From: NodeByte Date: Mon, 11 May 2026 14:11:03 -0600 Subject: [PATCH] Refactor npm release workflow Removed npm update step and simplified publish command. --- .github/workflows/npm-release.yml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/.github/workflows/npm-release.yml b/.github/workflows/npm-release.yml index fd38065..9c7daeb 100644 --- a/.github/workflows/npm-release.yml +++ b/.github/workflows/npm-release.yml @@ -1,4 +1,4 @@ -name: Relase Node SDK +name: Release Node SDK env: FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true" @@ -12,7 +12,7 @@ on: workflow_dispatch: permissions: - id-token: write # Required for OIDC + id-token: write contents: read concurrency: @@ -39,20 +39,11 @@ jobs: with: version: 9.0.0 - - name: Update npm for OIDC support - run: npm install -g npm@latest - - name: Install dependencies run: pnpm install --frozen-lockfile - name: Publish package working-directory: packages/sdk - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} run: | pnpm run build - if [ -n "$NODE_AUTH_TOKEN" ]; then - npm publish --access public --no-git-checks - else - npm publish --access public --no-git-checks --provenance - fi \ No newline at end of file + npm publish --access public --no-git-checks --provenance