chore: reduce CI cron from daily to weekly #574
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
| name: 🔍 FAF Edge Case Audit | |
| on: | |
| push: | |
| branches: [ main, develop ] | |
| pull_request: | |
| branches: [ main ] | |
| schedule: | |
| # Run weekly on Mondays at 6 AM UTC | |
| - cron: '0 6 * * 1' | |
| jobs: | |
| faf-audit: | |
| runs-on: ubuntu-latest | |
| name: 🚨 Critical Edge Case Prevention | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Build TypeScript | |
| run: npm run build | |
| - name: 🔍 Run FAF Edge Case Audit | |
| run: | | |
| echo "🔍 Running comprehensive FAF edge case audit..." | |
| echo "This test prevents critical regressions like:" | |
| echo "• Directory vs file confusion (faf-engine/ vs .faf)" | |
| echo "• Backup file pollution (.faf.backup-* files)" | |
| echo "• Cache directory conflicts (~/.faf/ collision)" | |
| echo "• Case sensitivity issues (.FAF vs .faf)" | |
| echo "" | |
| npm run test:audit |