We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ab8ced commit 5f391a0Copy full SHA for 5f391a0
.github/workflows/release.yaml
@@ -29,10 +29,22 @@ jobs:
29
- name: Install dependencies
30
run: |
31
npm i -g pnpm
32
- pnpm install
+ # 清理 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
40
41
- name: Build
42
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
+ # 构建项目
48
pnpm build:core
49
50
- name: Create Release Pull Request
0 commit comments