Repository navigation
chore(ci): unify Node 22 across workflows and add .nvmrc - #181
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.
摘要
.nvmrc(22),与mise.toml、.github/workflows/ci.yml、scripts/release/deploy-production.sh统一 Node 22 基准。.github/workflows/release.yml与.github/workflows/release-production.yml的node-version从24统一为22,消除跨工作流 Node 主版本漂移(devkit check的node-version:high)。.gitignore新增.worktrees/以隔离并发工作树目录。git config core.hooksPath .githooks,使.githooks/pre-commit与.githooks/pre-push生效。风险与影响
.nvmrc基准,不改动业务运行时代码)。验证证据
npm run public:check、npm run security:check、npm run check全部通过(且.githooks/pre-commit已在提交时自动触发验证)。shadow-devkit审计:devkit check shadow-mate全部high/medium/low发现清零;devkit probe shadow-mate6 场景状态passed。回滚方式
git revert $(git rev-parse --short HEAD)