ci: 升级 GitHub Actions 依赖 - #278
Open
daflyinbed wants to merge 1 commit into
Open
Conversation
- actions/checkout: v3/master -> v7 - pnpm/action-setup: v2 -> v5 (兼容 pnpm v10,v6 需 v11+) - easingthemes/ssh-deploy: main -> v6 - JamesIves/github-pages-deploy-action: v4.3.3 -> v4.9.0 - softprops/action-gh-release: v1 -> v3 (token 改用 with) - Yikun/hub-mirror-action: master -> v1.5 - anc95/ChatGPT-CodeReview: main -> v1
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.
升级内容
将各 workflow 中的 GitHub Action 依赖升级到最新可用版本。
actions/checkoutpnpm/action-setuppackageManager为pnpm@10.14.0,故取 v5(最新兼容版)easingthemes/ssh-deployenv:配置(v6 仍直接读process.env)JamesIves/github-pages-deploy-actionsoftprops/action-gh-releaseenv: GITHUB_TOKEN改为with: token:(v3 中 env 形式已废弃)Yikun/hub-mirror-actionanc95/ChatGPT-CodeReviewenv:配置(v1 支持)附带改动
pnpm/action-setup不再写死version: 8.1.0,改为读取package.json的packageManager(pnpm@10.14.0),修复了 CI 与项目声明版本不一致的问题。验证