File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -162,7 +162,9 @@ jobs:
162162 # npm v10 syntax:
163163 # - `npm access list packages <scope>` checks whether the user can see/publish packages in that scope
164164 # - if you are not a member/owner of the npm org, this typically fails (403/404) which is what we want surfaced
165- npm access list packages @predicatesystems --registry https://registry.npmjs.org --json
165+ # NOTE: Some orgs restrict org-wide package listing to admins/owners.
166+ # Treat this as best-effort diagnostics; do not block publishing.
167+ npm access list packages @predicatesystems --registry https://registry.npmjs.org --json || echo "WARN: cannot list org packages for @predicatesystems (may be restricted; continuing)"
166168 echo ""
167169 echo "=== Sanity: packages visible to current user ==="
168170 npm access list packages "$(npm whoami --registry https://registry.npmjs.org)" --registry https://registry.npmjs.org --json
You can’t perform that action at this time.
0 commit comments