Commit 0ada0b0
fix: 修改 GitHub Actions 使用 .npmrc 文件进行 npm 认证
- 移除 registry-url 配置,改为直接创建 .npmrc 文件
- 在 CI 中动态创建包含 NPM_TOKEN 的 .npmrc 文件
- 简化发布流程,避免环境变量可能导致的认证问题
- 解决 npm publish 404 Not Found 错误
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent ffb2f39 commit 0ada0b0
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
31 | 35 | | |
32 | | - | |
33 | | - | |
34 | | - | |
| 36 | + | |
0 commit comments