ci: Gitea Actions 로 전환 (dev 전용, .gitlab-ci.yml 제거)
CI / build (push) Failing after 13m53s

이 인스턴스는 Gitea → .gitlab-ci.yml 미사용. sb-front 컨벤션 따라 .gitea/workflows/ci.yaml.
npm run build(vue-tsc 타입체크 + vite build).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
sb
2026-07-11 11:29:42 +09:00
parent 768aba282d
commit c1fb8625e7
2 changed files with 33 additions and 26 deletions
+33
View File
@@ -0,0 +1,33 @@
name: CI
# dev 브랜치 전용 CI (요청: dev 에만).
on:
push:
branches: [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 제거: Gitea 캐시 서버 미연결 시 'Save cache' 후처리가 수 분 hang → '가짜 실패' 유발(sb-front 와 동일)
- name: Install dependencies
run: npm ci
# build = vue-tsc 타입체크 + vite 빌드 (test/lint 스크립트는 아직 없음)
- name: Build
run: npm run build
- name: Upload build output
uses: actions/upload-artifact@v3
with:
name: dist
path: dist
retention-days: 7
-26
View File
@@ -1,26 +0,0 @@
# GitLab CI — dognation 프론트 (Vue3 + TS + Vite / Capacitor)
# dev 브랜치 푸시에서만 실행. build 스크립트가 vue-tsc 타입체크 + vite 빌드를 함께 수행.
image: node:22
variables:
npm_config_cache: "$CI_PROJECT_DIR/.npm"
cache:
key: "$CI_COMMIT_REF_SLUG"
paths:
- .npm/
stages:
- build
build:
stage: build
rules:
- if: '$CI_COMMIT_BRANCH == "dev"'
script:
- npm ci
- npm run build # vue-tsc --noEmit && vite build
artifacts:
paths:
- dist/
expire_in: 1 week