🐛 fix(release): 安装共享前端依赖 - #133
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
关联 Issue
Closes #132
做了什么
frontend依赖。frontend/package-lock.json与desktop/package-lock.json。实现与架构
desktop/tsconfig.json会包含../frontend/src/**/*.ts与../frontend/src/**/*.vue;因此桌面发布构建必须具备 frontend 的运行时和测试类型依赖。v0.1.0tag 或生产部署流程。合并后通过 workflow dispatch 重跑既有 tag。实验记录
实验:复现首轮发布 run
34545980353的 Windows job,并在本地按相同顺序安装 frontend/desktop 依赖后执行桌面构建。结果:首轮失败原因为
vue、pinia、vitest等共享依赖无法解析;本地 frontend 与 desktop Vite/typecheck 构建通过;Rust NSIS 由 Windows runner 验证。结论:缺失依赖由 release job 安装步骤修复,变更范围限于 CI 配置。
验证
风险与回滚
0.1.0package 或公开 tag。发布失败时使用新的补丁版本。提交前检查