Skip to content

[FIX] 6차 스프린트 QA반영 #225

[FIX] 6차 스프린트 QA반영

[FIX] 6차 스프린트 QA반영 #225

Workflow file for this run

name: FE CI for dev
on:
pull_request:
branches:
- develop
paths:
- "frontend/**"
jobs:
build-and-test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./frontend
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "npm"
cache-dependency-path: frontend/package-lock.json
- name: Install Dependencies
run: npm install
working-directory: ./frontend
- name: Cache node_modules
id: cache
uses: actions/cache@v3
with:
path: "**/node_modules"
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Build
run: npm run build:dev
working-directory: ./frontend
- name: Test
run: npm test
working-directory: ./frontend