Repository navigation
refactor: 简化构建和一些前端工程 - #62
Merged
Merged
Conversation
✅ Preview is ready!
↩️ Previous: ⚡️ 🤖 Powered by surge-preview |
|||||||||||||||
- 合并质量检查与测试到单一构建流程 - 移除 UMD 构建、size-limit 及 playground 检查 - 发布流程改为基于 git tag 触发 - 更新文档中的 UMD 产物引用为 g6-lite.min.js
- 将测试步骤移至构建之前 - 新增包体积限制检查步骤
✅ Preview is ready!
↩️ Previous: ⚡️ 🤖 Powered by surge-preview |
|||||||||||||||
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.

This pull request makes significant updates to the project's documentation, CI/CD workflows, and build outputs, focusing on simplifying the CI pipelines, modernizing Node.js usage, and clarifying the distribution artifacts. The changes remove legacy files and scripts, update references to the UMD build, and streamline the release and deployment processes.
CI/CD Workflow Modernization and Simplification:
benchmark.ymlworkflow and consolidated CI steps inbuild.yml, simplifying the project's GitHub Actions setup and focusing on core quality and build checks. [1] [2] [3]build.yml,deploy.yml,preview.yml,release.yml) to use Node.js 24 instead of Node.js 20, and removed the workaround for npm version compatibility. [1] [2] [3]Documentation and Distribution Updates:
dist/g6-lite.min.jsinstead ofdist/g6-lite.umd.min.js. This includes badge URLs, CDN links, and code snippets in bothREADME.mdandREADME.zh-CN.md. [1] [2] [3] [4] [5] [6] [7] [8]npm run buildnow generates ESM output, type declarations, and the new UMD build. [1] [2]CNAMEfile and outdated project documentation files (AGENTS.md,CHANGELOG.md,.size-limit.mjs) to reflect current branding, publishing, and maintenance practices. [1] [2] [3] [4]Other Cleanups:
CONTRIBUTING.md, reflecting the removal of the benchmark workflow.These changes collectively modernize the project's infrastructure, clarify its usage and distribution, and remove outdated or redundant files and processes.