File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5454 git config user.name "github-actions[bot]"
5555 git config user.email "github-actions[bot]@users.noreply.github.com"
5656
57+ - name : Debug auth
58+ run : |
59+ echo "npm version: $(npm --version)"
60+ echo "node version: $(node --version)"
61+ npm whoami 2>&1 || echo "whoami failed"
62+ cat ~/.npmrc | sed 's/npm_[a-zA-Z0-9]*/npm_REDACTED/g'
63+
5764 - name : Bump & publish core
5865 if : inputs.package == 'core' || inputs.package == 'both'
5966 working-directory : packages/core
@@ -64,11 +71,18 @@ jobs:
6471
6572 bun run build
6673
74+ echo "📋 Package contents:"
75+ npm pack --dry-run 2>&1 || true
76+
6777 if [ "${{ inputs.dry-run }}" = "true" ]; then
6878 echo "🏜️ Dry run — would publish @pascal-app/core@$VERSION"
6979 npm publish --dry-run --access public
7080 else
71- npm publish --access public
81+ npm publish --access public --loglevel verbose 2>&1 || {
82+ echo "❌ Publish failed, dumping debug log:"
83+ cat ~/.npm/_logs/*-debug-0.log 2>/dev/null | tail -50
84+ exit 1
85+ }
7286 echo "📦 Published @pascal-app/core@$VERSION"
7387 fi
7488
You can’t perform that action at this time.
0 commit comments