chore: optimize project metadata and CI/CD#8
Conversation
- Fix naming inconsistencies: articlelayout → mdskill-web in package.json - Fix PageSkill → MDskill in CLI.md - Add GitHub Actions CI workflow for build and type checking - Add GitHub Actions deployment workflow for GitHub Pages - Add CONTRIBUTING.md with contribution guidelines - Add CHANGELOG.md for version tracking - Add badges to README (CI, Deploy, License, Stars)
✅ Deploy Preview for mdskill ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8f7ef74940
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| - name: Build | ||
| run: npm run build |
There was a problem hiding this comment.
Set the Pages base path before building
When this workflow deploys AIPMAndy/MDskill-Web as a GitHub Pages project site, the app is served under /MDskill-Web/, but this build still uses the repo's existing Vite config with no base override. Vite will emit root-relative URLs such as /assets/... and the existing /favicon.svg, so the deployed page requests assets from https://aipmandy.github.io/assets/... instead of the project path and loads as a blank/broken app unless a custom root domain is configured.
Useful? React with 👍 / 👎.
概述
本 PR 优化了项目的元数据配置和 CI/CD 流程,修复了命名不一致问题,并添加了完善的项目文档。
变更内容
1. 修复命名不一致
package.json:
articlelayout→mdskill-webArticleLayout.git→MDskill-Web.gitmdskillCLI.md:
PageSkill CLI→MDskill CLIPageSkill引用统一改为MDskill.pageskillrc→.mdskillrc2. 添加 GitHub Actions CI/CD
CI Workflow (
.github/workflows/ci.yml)npm run lint)npm run build)Deploy Workflow (
.github/workflows/deploy.yml)3. 添加项目文档
CONTRIBUTING.md
CHANGELOG.md
4. 优化 README
测试验证
npm run buildnpm run lint影响范围
后续工作
合并后建议:
检查清单