- 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>
29 lines
No EOL
600 B
YAML
29 lines
No EOL
600 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ main, master, feature/* ]
|
|
pull_request:
|
|
branches: [ main, master ]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: self-hosted
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install dependencies
|
|
run: npm ci
|
|
|
|
- name: Run linting
|
|
run: npm run lint
|
|
|
|
- name: Run type checking
|
|
run: npm run typecheck
|
|
|
|
- name: Build application
|
|
run: npm run build
|
|
env:
|
|
# Use empty string for YOUTUBE_API_KEY during CI build
|
|
YOUTUBE_API_KEY: "" |