Skip to content

Commit 306cabe

Browse files
committed
fix: lint 설정 수정 및 pre-commit 스크립트 업데이트
1 parent c927cff commit 306cabe

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

.github/workflows/lint-test.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,16 @@ name: Frontend Lint
33
on:
44
push:
55
branches: [main, dev]
6-
paths:
7-
- "frontend/**"
86
pull_request:
97
branches: [main, dev]
10-
paths:
11-
- "frontend/**"
128

139
jobs:
1410
lint:
1511
runs-on: ubuntu-latest
1612

1713
defaults:
1814
run:
19-
working-directory: frontend # ⭐ 핵심
15+
working-directory: . # ⭐ 핵심
2016

2117
steps:
2218
- name: Checkout
@@ -33,7 +29,7 @@ jobs:
3329
with:
3430
node-version: 20
3531
cache: pnpm
36-
cache-dependency-path: frontend/pnpm-lock.yaml # ⭐ 핵심
32+
cache-dependency-path: pnpm-lock.yaml # ⭐ 핵심
3733

3834
- name: Install dependencies
3935
run: pnpm install --frozen-lockfile

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pnpm test
1+
pnpm lint

0 commit comments

Comments
 (0)