Skip to content

Commit 97c6ccb

Browse files
author
SentienceDEV
committed
fix release pipe
1 parent 1acdeb0 commit 97c6ccb

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,11 @@ jobs:
166166
# Treat this as best-effort diagnostics; do not block publishing.
167167
npm access list packages @predicatesystems --registry https://registry.npmjs.org --json || echo "WARN: cannot list org packages for @predicatesystems (may be restricted; continuing)"
168168
echo ""
169-
echo "=== Sanity: packages visible to current user ==="
170-
npm access list packages "$(npm whoami --registry https://registry.npmjs.org)" --registry https://registry.npmjs.org --json
169+
echo "=== Sanity: npm profile (should succeed) ==="
170+
npm profile get --registry https://registry.npmjs.org --json || echo "WARN: cannot read npm profile (continuing)"
171+
echo ""
172+
echo "=== Sanity: does package already exist? (ok if 404) ==="
173+
npm view @predicatesystems/sdk version --registry https://registry.npmjs.org --json || echo "INFO: @predicatesystems/sdk not found yet (expected for first publish)"
171174
172175
- name: Publish to npm
173176
run: |

0 commit comments

Comments
 (0)