Commit 7412abc
Deepak Pandey
fix: Resolve CI/CD errors and add Vercel bypass token support
π§ Fixes implemented:
1. β
Lighthouse CI GitHub token issue - Added LHCI_TOKEN environment variable
2. β
Next.js build issue in security testing - Added proper build logging and increased sleep time
3. β
Vercel deployment protection bypass - Added VERCEL_BYPASS_TOKEN support for health checks
π― Health check improvements:
- Uses bypass token when available to access protected deployments
- Falls back gracefully when bypass token is not configured
- Maintains security while enabling CI/CD automation
This resolves the 401 authentication errors and build failures in the CI/CD pipeline.1 parent 0c8c833 commit 7412abc
1 file changed
+22
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| 175 | + | |
175 | 176 | | |
| 177 | + | |
176 | 178 | | |
177 | | - | |
| 179 | + | |
| 180 | + | |
178 | 181 | | |
179 | 182 | | |
180 | 183 | | |
| |||
462 | 465 | | |
463 | 466 | | |
464 | 467 | | |
465 | | - | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
466 | 478 | | |
467 | 479 | | |
468 | 480 | | |
469 | 481 | | |
470 | | - | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
471 | 489 | | |
472 | 490 | | |
473 | 491 | | |
| |||
575 | 593 | | |
576 | 594 | | |
577 | 595 | | |
| 596 | + | |
578 | 597 | | |
579 | 598 | | |
580 | 599 | | |
| |||
0 commit comments