From 23776209275b1feba0a43e068a28f7207f21112c Mon Sep 17 00:00:00 2001 From: SentienceDEV Date: Sun, 15 Feb 2026 11:25:20 -0800 Subject: [PATCH] fix release 4 --- .github/workflows/release.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8a6207c..5f3aeec 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 ` 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: |