Skip to content

fix(ci): pages workflow 去掉 cache 依赖 lockfile#7

Merged
JohnC-stack merged 1 commit into
mainfrom
fix/pages-workflow-cache
Apr 18, 2026
Merged

fix(ci): pages workflow 去掉 cache 依赖 lockfile#7
JohnC-stack merged 1 commit into
mainfrom
fix/pages-workflow-cache

Conversation

@JohnC-stack
Copy link
Copy Markdown
Collaborator

修复 Build docs-site 失败(没有 lockfile 时 setup-node cache 报错)。

setup-node@v4 的 cache: npm 要求 package-lock.json 存在,但首次还没
commit lockfile 导致 'Some specified paths were not resolved'。

改为不配 cache,npm install 首次走全量;后续如果想加速,可以在本地
跑一次 npm install 生成 lockfile 后 commit,再在 workflow 里加回
cache: npm。
@JohnC-stack JohnC-stack merged commit 403a2e5 into main Apr 18, 2026
10 checks passed
@JohnC-stack JohnC-stack deleted the fix/pages-workflow-cache branch April 18, 2026 06:45
JohnC-stack pushed a commit that referenced this pull request Apr 18, 2026
- README 首页徽章更明显地展示 epcode-ai.github.io/ep-code-ai 已上线
- pages.yml 顶部注释去掉'前提公开'的临时说明(现在已公开)
- CHANGELOG [Unreleased] 加'基础设施修复'小节,记录本轮 PR #7-14 的具体改动
JohnC-stack added a commit that referenced this pull request Apr 18, 2026
- README 首页徽章更明显地展示 epcode-ai.github.io/ep-code-ai 已上线
- pages.yml 顶部注释去掉'前提公开'的临时说明(现在已公开)
- CHANGELOG [Unreleased] 加'基础设施修复'小节,记录本轮 PR #7-14 的具体改动

Co-authored-by: zhangkunshi <john_kunshi@163.com>
JohnC-stack pushed a commit that referenced this pull request Apr 19, 2026
- [Unreleased] 段简化为'Phase 2 进行中'
- [0.6.0] 段加'上线'摘要(文档站 + branch protection)
- [0.6.0] 段加'收尾日基础设施修复'子节,把本周 PR #7-#15 的具体修复
  全部归档到 0.6.0(因为这是首次 tag,所有这些都属于 0.6.0 范围)
- 完成度结论加 'Phase 1 全部完成' 标识
JohnC-stack added a commit that referenced this pull request Apr 19, 2026
- [Unreleased] 段简化为'Phase 2 进行中'
- [0.6.0] 段加'上线'摘要(文档站 + branch protection)
- [0.6.0] 段加'收尾日基础设施修复'子节,把本周 PR #7-#15 的具体修复
  全部归档到 0.6.0(因为这是首次 tag,所有这些都属于 0.6.0 范围)
- 完成度结论加 'Phase 1 全部完成' 标识

Co-authored-by: zhangkunshi <john_kunshi@163.com>
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.

1 participant