Removed dependency, Next.js build, and TypeScript caching as they were
slowing down the CI pipeline instead of improving performance.
Simplified workflows now run:
1. Checkout
2. Install dependencies
3. Lint & typecheck (parallel)
4. Build
This should significantly reduce CI execution time by eliminating
cache overhead and complexity.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Ran 'npx next info' to trigger automatic SWC dependency patching.
This resolves the warnings:
- ⚠ Found lockfile missing swc dependencies, run next locally to automatically patch
The patch adds platform-specific SWC binaries to the lockfile for
proper Next.js compilation across different architectures.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Performance improvements:
- Cache node_modules in addition to ~/.npm to skip dependency installation
- Add TypeScript incremental compilation caching with tsBuildInfoFile
- Parallelize lint and typecheck steps to run concurrently
- Add performance flags: --prefer-offline, --no-audit, --no-fund for npm ci
- Increase Node.js memory limit to 4GB and thread pool size
- Cache build output directory for faster rebuilds
- Upgrade TypeScript target to ES2020 for faster compilation
- Disable Next.js telemetry to reduce overhead
Expected reduction: 5+ minutes → 2-3 minutes
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Added concurrency groups to both CI and Deploy workflows to:
- Queue jobs per workflow and branch combination
- Cancel older runs when new commits are pushed
- Prevent resource conflicts on self-hosted runners
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>