Skip to content

Commit 5fa2ebf

Browse files
fix(ci): release-doctor — report correct token name
1 parent 5f4e07e commit 5fa2ebf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/publish-npm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# workflow for re-running publishing to NPM in case it fails for some reason
2-
# you can run this workflow by navigating to https://www.github.com/anthropics/anthropic-sdk-typescript/actions/workflows/publish-npm.yml
1+
# This workflow publishes the package to NPM.
2+
# You can run this workflow manually by navigating to https://www.github.com/anthropics/anthropic-sdk-typescript/actions/workflows/publish-npm.yml
33
name: Publish NPM
44
on:
55

bin/check-release-environment

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if [ -z "${STAINLESS_API_KEY}" ]; then
77
fi
88

99
if [ -z "${NPM_TOKEN}" ]; then
10-
errors+=("The ANTHROPIC_NPM_TOKEN secret has not been set. Please set it in either this repository's secrets or your organization secrets")
10+
errors+=("The NPM_TOKEN secret has not been set. Please set it in either this repository's secrets or your organization secrets")
1111
fi
1212

1313
lenErrors=${#errors[@]}

0 commit comments

Comments
 (0)