Skip to content

Commit e795271

Browse files
committed
chore: debug
1 parent 152e859 commit e795271

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

.github/workflows/publish.yml

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,37 @@ jobs:
3434
- name: Run tests
3535
run: npm run test:ci
3636

37+
- name: Debug
38+
run: |
39+
echo "::group::Node & npm versions"
40+
node -v
41+
npm -v
42+
echo "::endgroup::"
43+
44+
echo "::group::npm config (redacted)"
45+
npm config get registry || true
46+
npm config list -l | sed 's/_authToken.*/_authToken=[REDACTED]/' || true
47+
echo "::endgroup::"
48+
49+
echo "::group::Env checks"
50+
if [ -n "${NODE_AUTH_TOKEN}" ]; then echo "NODE_AUTH_TOKEN set? yes"; else echo "NODE_AUTH_TOKEN set? no"; fi
51+
if [ -n "${NPM_CONFIG_USERCONFIG}" ]; then echo "NPM_CONFIG_USERCONFIG set? yes"; else echo "NPM_CONFIG_USERCONFIG set? no"; fi
52+
echo "::endgroup::"
53+
54+
echo "::group::Git state"
55+
git status --porcelain || true
56+
git tag --list --points-at HEAD || true
57+
echo "::endgroup::"
58+
59+
echo "::group::Registry package info"
60+
npm view decap-server version || true
61+
npm view decap-server versions --json || true
62+
echo "::endgroup::"
63+
64+
echo "::group::Lerna packages"
65+
npx lerna ls --json || true
66+
echo "::endgroup::"
67+
3768
- name: Publish to npm
38-
run: npm run lerna:publish
69+
run: npm run lerna:publish -- --loglevel silly
3970
# No NODE_AUTH_TOKEN needed - uses OIDC automatically via trusted publishers

0 commit comments

Comments
 (0)