Skip to content
This repository was archived by the owner on Mar 18, 2026. It is now read-only.

refactor: Simplify edit button logic in DocumentDetailSection #790

refactor: Simplify edit button logic in DocumentDetailSection

refactor: Simplify edit button logic in DocumentDetailSection #790

Workflow file for this run

name: plateeRAG_CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x, 22.x, 24.x]
defaults:
run:
working-directory: ./
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Create .env file
run: |
echo "NEXT_PUBLIC_BACKEND_HOST=${{ secrets.NEXT_PUBLIC_BACKEND_HOST }}" > .env
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build Next.js project
run: npm run build
# - name: Run tests
# run: npm test
- name: Start Next.js server and check status
run: |
npm run start & # 백그라운드에서 서버 실행
sleep 5 # 서버가 시작될 때까지 잠시 대기
curl -f http://localhost:3000 # localhost:3000에 접속하여 HTTP 200 응답 확인