Commit a1ef443
fix(ci): 使用 node:alpine 镜像替代 alpine:latest
将 linux-musl-x64 job 的基础镜像从 alpine:latest 改为
node:18-alpine,解决 Alpine 自带 npm 的兼容性问题。
node:18-alpine 镜像优势:
- 预装经过测试的 Node.js 18 和 npm 版本
- 避免 apk 提供的 npm 版本存在的 "Exit handler never called" bug
- 更稳定的依赖管理体验
- 移除了不必要的 npm 升级步骤
修复了持续出现的 npm install 失败问题。
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 45fbaa9 commit a1ef443
1 file changed
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
| 198 | + | |
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
| 206 | + | |
210 | 207 | | |
211 | 208 | | |
212 | 209 | | |
| |||
0 commit comments