✨ feat: rSS 등록 승인 시 RSS URL을 분석하여 블로그 플랫폼을 등록하는 로직 추가 #58
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
pull_request: | |
paths: | |
- 'server/**' | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
# 1. 현재 PR 브랜치로 체크아웃 하기 | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.ref }} | |
# 2. Node.js 환경 설정 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '22' | |
cache: 'npm' | |
# 3. 의존성 설치 | |
- name: Install dependencies | |
working-directory: ./server | |
run: npm install | |
# 4. 통합 테스트 실행 | |
- name: Run Integration Test | |
working-directory: ./server | |
run: npm run test | |
# TODO: 테스트 커버리지, 혹은 테스트 로그 커멘트 작성 로직 추가하기 |