Skip to content

Commit d9d5048

Browse files
committed
ci: add debug output before npm publish to diagnose OIDC
1 parent 715ff6b commit d9d5048

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/release-node.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,20 @@ jobs:
5353
working-directory: packages/cli
5454
run: npm version "${{ steps.meta.outputs.version }}" --no-git-tag-version
5555

56+
- name: Debug environment
57+
working-directory: packages/cli
58+
run: |
59+
echo "Node: $(node --version)"
60+
echo "npm: $(npm --version)"
61+
echo "--- ~/.npmrc ---"
62+
cat ~/.npmrc 2>/dev/null || echo "(none)"
63+
echo "--- .npmrc ---"
64+
cat .npmrc 2>/dev/null || echo "(none)"
65+
echo "--- npm config ---"
66+
npm config list
67+
echo "--- registry ---"
68+
npm config get registry
69+
5670
- name: Publish to npm (trusted publishing)
5771
working-directory: packages/cli
5872
run: npm publish --access public --provenance

0 commit comments

Comments
 (0)