Commit graph

16 commits

Author SHA1 Message Date
Derek Slenk
558186f904 Remove all caching steps from CI workflows
All checks were successful
CI / test (push) Successful in 3m57s
CI / test (pull_request) Successful in 4m4s
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>
2025-07-18 00:59:40 -04:00
Derek Slenk
6465be819a Optimize CI workflows for faster execution
Some checks failed
CI / test (push) Failing after 29s
CI / test (pull_request) Has been cancelled
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>
2025-07-18 00:09:25 -04:00
Derek Slenk
01eb5c9712 Add workflow concurrency control to prevent concurrent CI runs
Some checks failed
CI / test (pull_request) Failing after 23s
CI / test (push) Has been cancelled
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>
2025-07-18 00:04:54 -04:00
Derek Slenk
ba3c89196a Fix Next.js build caching
All checks were successful
CI / test (push) Successful in 14m6s
CI / test (pull_request) Successful in 14m44s
- Separate npm dependencies and Next.js build cache
- Use proper cache keys following Next.js CI docs
- Fix file pattern matching for cache invalidation
2025-07-16 16:50:15 -04:00
Derek Slenk
b642b44a2f Add S3_BUCKET_NAME environment variable to deployment
All checks were successful
CI / test (push) Successful in 8m42s
Deploy / deploy (push) Successful in 9m36s
2025-07-16 15:11:26 -04:00
Derek Slenk
8f19d43632 Add Next.js build caching to CI/CD workflows
Some checks failed
Deploy / deploy (push) Failing after 7m33s
CI / test (push) Has been cancelled
2025-07-16 14:28:39 -04:00
Derek Slenk
b20acf78f2 Fix deploy: Add YOUTUBE_API_KEY to S3 deployment step
Some checks failed
CI / test (push) Successful in 4m25s
Deploy / deploy (push) Has been cancelled
2025-07-16 14:21:22 -04:00
Derek Slenk
c59575f597 Fix CI/CD: Remove artifact upload step that was causing authentication errors
Some checks failed
CI / test (push) Successful in 3m57s
Deploy / deploy (push) Failing after 2m38s
2025-07-16 11:35:56 -04:00
Derek Slenk
e9790881b2 Merge branch 'feature/forgejo-workflows' of ssh://git.deco.sh/signal-works/cheatingchelsea into feature/forgejo-workflows
All checks were successful
CI / test (push) Successful in 4m49s
CI / test (pull_request) Successful in 5m43s
2025-07-16 00:08:53 -04:00
Derek Slenk
deef69a0aa Fix Forgejo workflows authentication issues
- Replace Codeberg action URLs with standard actions/checkout@v4
- Remove caching actions that require external dependencies
- Simplify workflows for self-hosted runners with Node.js pre-installed

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-16 00:08:28 -04:00
2d34ee4afb Delete .forgejo/workflows/nextjs.yml
Some checks failed
CI / test (push) Failing after 1s
CI / test (pull_request) Failing after 0s
2025-07-16 07:06:04 +03:00
e51876f624 Delete .forgejo/workflows/build-check.yml
Some checks failed
CI / test (push) Failing after 1s
CI / test (pull_request) Failing after 1s
2025-07-16 07:05:56 +03:00
Derek Slenk
a0956c37cf Add Forgejo Actions workflows for CI/CD
Some checks failed
CI / test (push) Failing after 1s
CI / test (pull_request) Failing after 1s
Build Check / build-check (push) Failing after 3m28s
Build Check / build-check (pull_request) Successful in 4m44s
- Create CI workflow for automated testing on push/PR
- Create deployment workflow with secrets handling
- Use self-hosted runners with existing Node.js installation
- Support YouTube API key and AWS credentials from repository secrets

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-16 00:04:42 -04:00
1849ef1bfa Update .forgejo/workflows/nextjs.yml
All checks were successful
Build Check / build-check (pull_request) Successful in 5m1s
Build Check / build-check (push) Successful in 6m20s
2025-07-16 05:41:31 +03:00
9d96d366bf Update .forgejo/workflows/build-check.yml
Some checks failed
Build Check / build-check (push) Has been cancelled
Build Check / build-check (pull_request) Successful in 6m4s
2025-07-16 05:40:46 +03:00
Decobus
a939c6ed65 Migrate from GitHub to Forgejo
Some checks failed
Build Check / build-check (pull_request) Failing after 2m18s
Build Check / build-check (push) Failing after 2m19s
- Rename .github directory to .forgejo
- Update workflow actions to use Forgejo-specific URLs
- Change runners from ubuntu-latest to self-hosted
- Replace GitHub-specific AWS action with environment variables
- Update documentation references from GitHub to Forgejo/git.deco.sh

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-10 18:43:35 -04:00