fix(ci): 修复跨平台 pnpm 缓存与平台测试超时 - #215
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.
背景与关联
pnpm 缓存缺少回退,后续检查失败时无法保存;platform 测试仍使用默认 5 秒超时。
主要改动
统一按系统和架构恢复、保存 pnpm store;platform 超时调整为 15 秒,减少测试中的重复安装。
验证
此前本地工作区 lint、类型检查通过,platform 测试 191 通过、6 跳过。独立提交由远端 CI 验证;Windows/macOS 尚未验证本次修改。