Repository navigation
ci: test and build all three projects on PRs (DEV-41) - #5
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9991b0236c
ℹ️ 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".
| @@ -0,0 +1,27 @@ | |||
| name: CI | |||
There was a problem hiding this comment.
Put the workflow in GitHub's discovery directory
GitHub only discovers workflow files placed directly in .github/workflows/; this nested path is ignored, so the new tests and builds will never run on pull requests or pushes to main. Move the file to .github/workflows/ci.yml.
Useful? React with 👍 / 👎.
| }); | ||
| }); | ||
|
|
||
| it('DEV41 deliberate failing test probe', () => { throw new Error('expected negative CI probe'); }); |
PR과 main push에서 template·apps/grave-dash·apps/oppboard 각각 npm ci → npm test → npm run build를 실행하는 CI를 추가했습니다. Node20을 사용해 기존 Pages 배포와 버전을 맞췄습니다. 기존 배포 워크플로는 변경하지 않았습니다.
검증: template27 + grave-dash43 + oppboard43 = 113 테스트와 3개 빌드 통과. template에 고의 실패 테스트를 실제 게시해 CI red를 확인하고 제거했습니다. 다른 두 앱은 같은 실행에서 통과했습니다.
저장소 소유자 승인 후 main-ci-required 규칙을 Active로 설정했습니다. main만 대상이고 GitHub Actions의 test-build 3개를 필수로 하며 우회 목록은 비었습니다. 승인 인원·배포 설정과 다른 규칙은 변경하지 않았습니다. 필수 검사 실패 시 병합 차단 화면을 확인하고 정상 테스트로 복원했습니다. 최종 검사를 통과한 커밋만 병합합니다.
DEV-41의 skelekit 부분이며 plugin-tools PR1과 함께 완료 조건을 검증합니다.