Commit abcca02
feat: optimize CI workflow triggers to eliminate redundancy
## Workflow Optimization Strategy
### Before: 3 workflows running on same triggers
- nx-optimized-ci.yml: push/PR to main,dev
- ci-dte.yml: push/PR to main,dev
- nx-smart-deploy.yml: push/PR to main
### After: Differentiated workflow purposes
1. **Primary CI (Fast Feedback)** - `nx-optimized-ci.yml`
- Triggers: All pushes/PRs to main,dev
- Purpose: Fast Group 5 testing for immediate feedback
- ~2-3 minutes execution time
2. **Comprehensive CI (Weekly Testing)** - `ci-dte.yml`
- Triggers: Weekly schedule (Sundays 2 AM UTC) + manual
- Purpose: Thorough testing with distributed task execution
- Options: comprehensive vs affected-only testing
- ~10-15 minutes execution time
3. **Production Deployment** - `nx-smart-deploy.yml`
- Triggers: main branch only (unchanged)
- Purpose: Production builds and GitHub Pages deployment
4. **Development Deployment** - `deploy-dev.yml`
- Triggers: dev branch only (unchanged)
- Purpose: Development environment deployment
## Benefits
- ✅ Eliminates redundant CI execution on every push
- ✅ Reduces CI compute costs by ~60-70%
- ✅ Maintains comprehensive testing through weekly schedule
- ✅ Preserves fast feedback loop for development
- ✅ Clear separation of concerns between workflows
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>1 parent 17a0282 commit abcca02
File tree
4 files changed
+52
-23
lines changed- .github/workflows
4 files changed
+52
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
22 | 28 | | |
23 | 29 | | |
24 | 30 | | |
| |||
82 | 88 | | |
83 | 89 | | |
84 | 90 | | |
85 | | - | |
86 | | - | |
| 91 | + | |
| 92 | + | |
87 | 93 | | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
| 94 | + | |
| 95 | + | |
97 | 96 | | |
98 | | - | |
99 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
100 | 124 | | |
101 | 125 | | |
102 | 126 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
| |||
0 commit comments