Skip to content

Commit 0d530cc

Browse files
committed
#348 fix(fe): 자체 터보레포 수정
1 parent fc0fcf1 commit 0d530cc

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

.github/workflows/fe-ci.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ jobs:
7070
working-directory: src/frontend
7171
run: |
7272
if [ "${{ matrix.task }}" = "lint" ]; then
73-
pnpm turbo lint --parallel
73+
pnpm exec turbo lint --parallel
7474
elif [ "${{ matrix.task }}" = "test" ]; then
75-
pnpm turbo test --filter=web --parallel
75+
pnpm exec turbo test --filter=web --parallel
7676
fi
7777
7878
build:
@@ -113,8 +113,14 @@ jobs:
113113
restore-keys: |
114114
${{ runner.os }}-turbo-
115115
116+
- name: Install Dependencies (if necessary)
117+
working-directory: src/frontend
118+
run: |
119+
if [ ! -d "node_modules" ]; then
120+
pnpm install --frozen-lockfile --prefer-offline
121+
fi
122+
116123
- name: Run Build with Cache
117124
working-directory: src/frontend
118125
run: |
119-
export TURBO_LOG_VERBOSITY=verbose
120-
pnpm turbo build --filter=web --filter=@workspace/ui --parallel
126+
pnpm exec turbo build --filter=web --filter=@workspace/ui --parallel

src/frontend/turbo.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"$schema": "https://turbo.build/schema.json",
3+
"cacheDir": ".turbo/cache",
34
"globalEnv": [
45
"NEXT_PUBLIC_MODE",
56
"NEXT_PUBLIC_BASE_URL",

0 commit comments

Comments
 (0)