Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions .github/workflows/node_sdk_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Comment on lines 101 to +102
# 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:
Expand Down
Loading