Skip to content

API 모듈 추상화 (issue #20) #17

API 모듈 추상화 (issue #20)

API 모듈 추상화 (issue #20) #17

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
jobs:
frontend-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Cache Node.js modules
uses: actions/cache@v4
with:
path: front/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/front/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install frontend dependencies
working-directory: front
run: npm install
- name: Run frontend tests
working-directory: front
run: npm test