Skip to content

Commit 5f391a0

Browse files
committed
feat: 合并部分pr请求
1 parent 5ab8ced commit 5f391a0

File tree

3 files changed

+74
-322
lines changed

3 files changed

+74
-322
lines changed

.github/workflows/release.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,22 @@ jobs:
2929
- name: Install dependencies
3030
run: |
3131
npm i -g pnpm
32-
pnpm install
32+
# 清理 esbuild 和 npm 缓存以解决版本冲突
33+
rm -rf ~/.npm/_cacache
34+
rm -rf node_modules/.cache
35+
rm -rf packages/core/node_modules
36+
# 清理 pnpm store
37+
pnpm store prune || true
38+
# 重新安装依赖
39+
pnpm install --force --frozen-lockfile
3340
3441
- name: Build
3542
run: |
43+
# 验证 esbuild 版本
44+
echo "esbuild version:"
45+
pnpm exec esbuild --version || echo "esbuild not found in root"
46+
cd packages/core && pnpm exec esbuild --version || echo "esbuild not found in core"
47+
# 构建项目
3648
pnpm build:core
3749
3850
- name: Create Release Pull Request

0 commit comments

Comments
 (0)