ci: Gitea Actions 워크플로 추가
CI / build (push) Failing after 15m28s

- ci.yaml: Node 22 설치 → npm ci → 린트(보고용) → vite build → dist 아티팩트
- deploy.yaml: 수동 실행(workflow_dispatch) 배포 템플릿(SSH/rsync 예시)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
ByungCheol
2026-05-31 15:48:57 +09:00
parent 13308a82ef
commit 5eca019967
2 changed files with 82 additions and 0 deletions
+40
View File
@@ -0,0 +1,40 @@
name: CI
on:
push:
branches: [main, dev]
pull_request:
branches: [main, dev]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
- name: Install dependencies
run: npm ci
# 린트는 결과만 보고하고 빌드를 막지 않음 (--fix 없이 검사만)
- name: Lint (report only)
continue-on-error: true
run: |
npx oxlint .
npx eslint .
- name: Build
run: npm run build
- name: Upload build output
uses: actions/upload-artifact@v3
with:
name: dist
path: dist
retention-days: 7