cheatingchelsea/.forgejo/workflows/ci.yml
Derek Slenk 558186f904
All checks were successful
CI / test (push) Successful in 3m57s
CI / test (pull_request) Successful in 4m4s
Remove all caching steps from CI workflows
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

40 lines
No EOL
998 B
YAML

name: CI
on:
push:
branches: [ main, master, feature/* ]
pull_request:
branches: [ main, master ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: self-hosted
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: npm ci --prefer-offline --no-audit --no-fund
env:
NODE_OPTIONS: '--max-old-space-size=4096'
UV_THREADPOOL_SIZE: 16
- name: Run linting and type checking in parallel
run: |
npm run lint &
npm run typecheck &
wait
env:
NODE_OPTIONS: '--max-old-space-size=4096'
- name: Build application
run: npm run build
env:
# Use empty string for YOUTUBE_API_KEY during CI build
YOUTUBE_API_KEY: ""
NODE_OPTIONS: '--max-old-space-size=4096'
NEXT_TELEMETRY_DISABLED: 1