Skip to content
Merged
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
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,13 @@ jobs:
npm whoami --registry https://registry.npmjs.org
echo ""
echo "=== Scope access (@predicate) ==="
npm access ls-packages @predicate --registry https://registry.npmjs.org
# npm v10 syntax:
# - `npm access list packages <scope>` checks whether the user can see/publish packages in that scope
# - if you are not a member/owner of the npm org, this typically fails (403/404) which is what we want surfaced
npm access list packages @predicate --registry https://registry.npmjs.org --json
echo ""
echo "=== Sanity: packages visible to current user ==="
npm access list packages "$(npm whoami --registry https://registry.npmjs.org)" --registry https://registry.npmjs.org --json

- name: Publish to npm
run: |
Expand Down
Loading