Skip to content
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(pr): use pnpm #3405

Closed
wants to merge 3 commits into from
Closed

ci(pr): use pnpm #3405

wants to merge 3 commits into from

Conversation

liweijie0812
Copy link
Collaborator

@liweijie0812 liweijie0812 commented Mar 2, 2025

🤔 这个 PR 的性质是?

  • 日常 bug 修复
  • 新特性提交
  • 文档改进
  • 演示代码改进
  • 组件样式/交互改进
  • CI/CD 改进
  • 重构
  • 代码风格优化
  • 测试用例
  • 分支合并
  • 其他

🔗 相关 Issue

💡 需求背景和解决方案

📝 更新日志

  • fix(组件名称): 处理问题或特性描述 ...

  • 本条 PR 不需要纳入 Changelog

☑️ 请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项⚠️

  • 文档已补充或无须补充
  • 代码演示已提供或无须提供
  • TypeScript 定义已补充或无须补充
  • Changelog 已提供或无须提供

Copy link
Contributor

github-actions bot commented Mar 2, 2025

完成

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Overview

This PR introduces CI/CD improvements by switching to pnpm and enhancing workflow automation for preview deployments and pull request validation.

  • Updated CI workflows to use pnpm, added preview deployment jobs using Surge, and incorporated email verification in PR workflows.
  • Modified the debounce hook by updating type definitions and removing an unused import.

Reviewed Changes

File Description
.github/workflows/preview-publish.yml Added preview-success and preview-failed jobs for Surge deploy.
.github/workflows/pull-request.yml Introduced check, test, site, and build jobs using pnpm.
packages/components/hooks/useDebounce.ts Updated debounce hook types and removed deprecated import.

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@liweijie0812 liweijie0812 deleted the ci/pr branch March 5, 2025 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants