Skip to content

Commit 1acdeb0

Browse files
authored
Merge pull request #196 from Predicate-Labs/fix_release5
fix release to new org
2 parents 3f12c1e + d44e45a commit 1acdeb0

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)