From c1fb8625e701d7a9d0d8febb70490830f69816b1 Mon Sep 17 00:00:00 2001 From: sb Date: Sat, 11 Jul 2026 11:29:42 +0900 Subject: [PATCH] =?UTF-8?q?ci:=20Gitea=20Actions=20=EB=A1=9C=20=EC=A0=84?= =?UTF-8?q?=ED=99=98=20(dev=20=EC=A0=84=EC=9A=A9,=20.gitlab-ci.yml=20?= =?UTF-8?q?=EC=A0=9C=EA=B1=B0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 이 인스턴스는 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) --- .gitea/workflows/ci.yaml | 33 +++++++++++++++++++++++++++++++++ .gitlab-ci.yml | 26 -------------------------- 2 files changed, 33 insertions(+), 26 deletions(-) create mode 100644 .gitea/workflows/ci.yaml delete mode 100644 .gitlab-ci.yml diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml new file mode 100644 index 0000000..0f1473d --- /dev/null +++ b/.gitea/workflows/ci.yaml @@ -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 \ No newline at end of file diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index 05a85b6..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -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 \ No newline at end of file