chore(ci): switch workflows to Node24 and disable uv cache#289
Merged
liujuanjuan1984 merged 1 commit intomainfrom Mar 23, 2026
Merged
chore(ci): switch workflows to Node24 and disable uv cache#289liujuanjuan1984 merged 1 commit intomainfrom
liujuanjuan1984 merged 1 commit intomainfrom
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.
变更概述
本次变更仅调整发布链路与 CI 的工作流环境策略,目的是解决发布流程中的缓存恢复异常与 Node.js 运行时弃用风险。
变更内容
1) CI/CD 流程兼容性(release/publish/health)
.github/workflows/publish.yml、.github/workflows/ci.yml、.github/workflows/dependency-health.yml的顶层添加FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true。2) UV 缓存策略收敛
astral-sh/setup-uv@v4的enable-cache从true调整为false。cache恢复接口返回400导致的流水线失败,优先恢复稳定可发布路径。风险与影响
setup-uv缓存会导致首次拉起时安装速度略有下降(更慢),但可避免 publish/CI 因缓存异常中断。验收建议
tag push(或workflow_dispatch)的Publish。cache service responded with 400的恢复失败。