Skip to content

Commit 93791fe

Browse files
committed
chore: next.js app build fail fix (#develop)
1 parent 3c48c45 commit 93791fe

File tree

4 files changed

+20
-37
lines changed

4 files changed

+20
-37
lines changed

.github/workflows/deploy-nextjs.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@ jobs:
4343
corepack enable
4444
pnpm --version
4545
46-
- name: Install sharp for Next.js image optimization
47-
run: cd services/one-app && pnpm install sharp
48-
4946
- name: Install dependencies
5047
uses: ./.github/actions/pnpm-install
5148

Dockerfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
FROM node:20.13.0-alpine
22

3-
RUN npm install -g pnpm
3+
RUN npm install -g corepack@latest && \
4+
corepack enable && \
5+
corepack prepare pnpm@latest --activate
46

57
RUN apk add --no-cache libc6-compat
68

@@ -14,7 +16,9 @@ COPY pnpm-lock.yaml ./
1416
COPY pnpm-workspace.yaml ./
1517
COPY .nx ./
1618

17-
RUN pnpm install
19+
RUN pnpm install && \
20+
cd services/one-app && \
21+
pnpm install sharp
1822

1923
ENV NEXT_TELEMETRY_DISABLED=1
2024

services/ahhachul.com/src/components/domain/home/headerActions/HomeHeaderActions.component.tsx

Lines changed: 13 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,25 @@ const wrapperVariants = {
1616
scaleY: 1,
1717
opacity: 1,
1818
transition: {
19+
type: 'spring',
20+
bounce: 0,
1921
stiffness: 300,
20-
damping: 20,
22+
damping: 24,
2123
when: 'beforeChildren',
2224
staggerChildren: 0.02,
2325
duration: 0.15,
2426
},
2527
},
2628
closed: {
27-
scaleX: 0.8,
28-
scaleY: 0.8,
29+
scaleX: 0.7,
30+
scaleY: 0.7,
2931
opacity: 0,
32+
3033
transition: {
31-
duration: 0.4,
32-
staggerChildren: 0.5,
34+
type: 'spring',
35+
bounce: 0,
36+
duration: 0.2,
37+
staggerChildren: 0.3,
3338
},
3439
},
3540
};
@@ -39,35 +44,11 @@ const iconVariants = {
3944
closed: { rotate: 0, transition: { duration: 0 } },
4045
};
4146

42-
const itemVariants = {
43-
open: {
44-
opacity: 1,
45-
y: 0,
46-
transition: {
47-
duration: 0,
48-
when: 'beforeChildren',
49-
},
50-
},
51-
closed: {
52-
opacity: 0,
53-
y: -15,
54-
transition: {
55-
duration: 0,
56-
when: 'afterChildren',
57-
},
58-
},
59-
};
60-
61-
const actionTextVariants = {
62-
open: { scale: 1, y: 0, transition: { duration: 0.15 } },
63-
closed: { scale: 0, y: -7, transition: { duration: 0.15 } },
64-
};
65-
6647
const Option = ({ station, onClick }: { station: UserStation; onClick: () => void }) => {
6748
return (
68-
<motion.li variants={itemVariants} css={S.option} onClick={onClick}>
69-
<motion.span variants={actionTextVariants}>{station.name}</motion.span>
70-
</motion.li>
49+
<li css={S.option} onClick={onClick}>
50+
<span>{station.name}</span>
51+
</li>
7152
);
7253
};
7354

services/ahhachul.com/src/pages/complaint/page.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const ComplaintPage: ActivityComponentType = () => {
1717
type="list"
1818
label="실시간 민원 보기"
1919
activityName="ComplaintListPage"
20+
checkAuth={false}
2021
replace
2122
/>
2223
</LayoutComponent.Base>

0 commit comments

Comments
 (0)