-
-
Notifications
You must be signed in to change notification settings - Fork 6
ci: fix corepack #33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: fix corepack #33
Conversation
WalkthroughThe pull request updates the CI workflow by adding an environment variable. Specifically, it adds Changes
Poem
Tip ⚡🧪 Multi-step agentic review comment chat (experimental)
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms (6)
🔇 Additional comments (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
@uni-helper/uni-app-components
@uni-helper/uni-app-types
@uni-helper/uni-types
@uni-helper/uni-cloud-types
@uni-helper/uni-ui-types
commit: |
✅ Deploy Preview for uni-typed ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Thank you! |
Description 描述
修复由于 corepack 问题导致的 CI 错误,详见 Newly published versions of package managers distributed from npm cannot be installed due to key id mismatch nodejs/corepack#612
解决方案是按照以下建议设置环境变量
COREPACK_DEFAULT_TO_LATEST=0
:这是可行的,因为我们在
package.json
中使用packageManager
固定了pnpm
的版本,并且不应该依赖于corepack
获取最新的pnpm
。Linked Issues 关联的 Issues
暂无
Additional context 额外上下文
暂无
Summary by CodeRabbit