Skip to content

[REFACTOR] Barrel Pattern 적용 #251

[REFACTOR] Barrel Pattern 적용

[REFACTOR] Barrel Pattern 적용 #251

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