Commit 6b39d91
committed
ci: enforce strict quality gates in CI/CD pipeline
- Add explicit exit codes for lint, type-check, prettier, and build failures
- Add coverage threshold validation that fails on unmet targets
- Enhance security audit with clear warning messages
- Fix ESLint warnings with proper disable comments for dynamic images
- Format all files with Prettier
All checks now properly fail the workflow if quality standards are not met:
✅ ESLint must pass (0 errors, 0 warnings)
✅ Prettier formatting must be correct
✅ TypeScript type check must pass
✅ All tests must pass
✅ Coverage thresholds must be met (80% statements, 70% branches, 68% functions, 80% lines)
✅ Build must succeed
Deployment to Vercel will only occur after ALL checks pass.1 parent c98467c commit 6b39d91
File tree
3 files changed
+92
-9
lines changed- .github/workflows
- src/components
- projects
- ui
3 files changed
+92
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
37 | 44 | | |
38 | 45 | | |
39 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
40 | 54 | | |
41 | 55 | | |
42 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
43 | 64 | | |
44 | 65 | | |
45 | 66 | | |
| |||
63 | 84 | | |
64 | 85 | | |
65 | 86 | | |
66 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 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 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
67 | 132 | | |
68 | 133 | | |
69 | 134 | | |
| |||
139 | 204 | | |
140 | 205 | | |
141 | 206 | | |
142 | | - | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
143 | 215 | | |
144 | 216 | | |
145 | 217 | | |
| |||
163 | 235 | | |
164 | 236 | | |
165 | 237 | | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
166 | 241 | | |
167 | | - | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
168 | 249 | | |
169 | 250 | | |
170 | 251 | | |
| |||
178 | 259 | | |
179 | 260 | | |
180 | 261 | | |
181 | | - | |
| 262 | + | |
182 | 263 | | |
183 | 264 | | |
184 | 265 | | |
| |||
189 | 270 | | |
190 | 271 | | |
191 | 272 | | |
192 | | - | |
| 273 | + | |
193 | 274 | | |
194 | 275 | | |
195 | 276 | | |
| |||
211 | 292 | | |
212 | 293 | | |
213 | 294 | | |
214 | | - | |
| 295 | + | |
215 | 296 | | |
216 | 297 | | |
217 | 298 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| 112 | + | |
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| 196 | + | |
196 | 197 | | |
197 | 198 | | |
198 | 199 | | |
| |||
0 commit comments