File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -54,10 +54,12 @@ jobs:
5454
5555 echo "Authenticated to npm as ${NPM_USER}."
5656
57- if ! npm access list packages @chart-kit --json >/dev/null; then
58- echo "NPM_TOKEN cannot access the @chart-kit npm scope."
59- echo "Create or claim the @chart-kit scope and grant this token publish rights before rerunning."
60- exit 1
57+ if npm access list packages @chart-kit --json >/dev/null; then
58+ echo "NPM_TOKEN can list packages in the @chart-kit npm scope."
59+ else
60+ echo "::warning::NPM_TOKEN authenticated, but npm refused the @chart-kit package-list preflight."
61+ echo "::warning::Granular npm tokens can be allowed to publish while still being denied org package listing."
62+ echo "::warning::Continuing; npm publish remains the authoritative write-permission check."
6163 fi
6264 env :
6365 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments