File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8686 # 确保 pnpm 使用 npm 的配置
8787 pnpm config set registry https://registry.npmjs.org/ || true
8888
89+ - name : Debug npm configuration before publish
90+ run : |
91+ echo "=== Debugging npm configuration ==="
92+ echo "NPM_CONFIG_USERCONFIG: ${NPM_CONFIG_USERCONFIG:-not set}"
93+ echo "HOME: $HOME"
94+ echo "Current .npmrc locations:"
95+ ls -la ~/.npmrc 2>/dev/null || echo "~/.npmrc not found"
96+ if [ -n "$NPM_CONFIG_USERCONFIG" ]; then
97+ ls -la "$NPM_CONFIG_USERCONFIG" 2>/dev/null || echo "$NPM_CONFIG_USERCONFIG not found"
98+ fi
99+ echo "npm version: $(npm --version)"
100+ echo "Checking npm config:"
101+ npm config list || true
102+ echo "=== End debugging ==="
103+
89104 - name : Create Release Pull Request or Publish to npm
90105 id : changesets
91106 uses : changesets/action@v1
You can’t perform that action at this time.
0 commit comments