Skip to content

โœ… test: Rss ์ „์ฒด ์กฐํšŒ, ์Šน์ธ, ๊ฑฐ์ ˆ ๋ฐ ๊ฒ€์ƒ‰ API ํ…Œ์ŠคํŠธ ์ฝ”๋“œ ์ž‘์„ฑ #62

โœ… test: Rss ์ „์ฒด ์กฐํšŒ, ์Šน์ธ, ๊ฑฐ์ ˆ ๋ฐ ๊ฒ€์ƒ‰ API ํ…Œ์ŠคํŠธ ์ฝ”๋“œ ์ž‘์„ฑ

โœ… test: Rss ์ „์ฒด ์กฐํšŒ, ์Šน์ธ, ๊ฑฐ์ ˆ ๋ฐ ๊ฒ€์ƒ‰ API ํ…Œ์ŠคํŠธ ์ฝ”๋“œ ์ž‘์„ฑ #62

Workflow file for this run

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: ํ…Œ์ŠคํŠธ ์ปค๋ฒ„๋ฆฌ์ง€, ํ˜น์€ ํ…Œ์ŠคํŠธ ๋กœ๊ทธ ์ปค๋ฉ˜ํŠธ ์ž‘์„ฑ ๋กœ์ง ์ถ”๊ฐ€ํ•˜๊ธฐ