ci: validate main before Railway deploys - #3
Merged
Conversation
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.
Important
📝 变更描述 / Description
将公司仓库的 GitHub Actions 收敛为一条质量门禁:Pull Request 和
mainpush 均执行 Go/relaykit 的 vet、build、test,以及 Web 的 TypeScript 检查和生产构建。删除上游仓库用于发布官方 Docker 镜像、Release、Electron 产物和同步 GitCode 的工作流。LowEntropyAI 的部署由 Railway 接管,GitHub Actions 不再承担 CD,也不会误发布上游项目的官方产物。
mainpush CI 可供 Railway 的 Wait for CI 使用:只有该提交的检查通过后,Railway 才继续部署。🚀 变更类型 / Type of change
🔗 关联任务 / Related Issue
✅ 提交前检查项 / Checklist
📸 运行证明 / Proof of Work
本地验证均通过:
GOWORK=off go vet ./...GOWORK=off go build ./...make test(包含根模块与 relaykit 测试)cd relaykit && GOWORK=off go vet ./...cd relaykit && GOWORK=off go build ./...cd web && bun install --frozen-lockfilecd web && bun run typecheckcd web && DISABLE_ESLINT_PLUGIN=true VITE_REACT_APP_VERSION=ci bun run build说明:当前
main的前端测试仍使用node:test,没有可由 Bun/Vitest 正确执行的项目测试脚本;因此本 PR 没有用会产生误导结果的bun test作为门禁,而是保留 TypeScript 检查与生产构建。