Skip to content

Commit 720207f

Browse files
lwinmoepaingclaude
andcommitted
🐛 fix: resolve CI build failures
- Remove static_site_generator option from configure-pages (already configured in next.config.js), fixes "error must be an instance of Error" crash - Upgrade oven-sh/setup-bun to v2 for Node.js 24 compatibility - Fix TypeScript errors: React.ElementType -> React.FC<SVGProps> for lucide icon props in Footer and JoinSection Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ca6ac94 commit 720207f

3 files changed

Lines changed: 3 additions & 9 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,9 @@ jobs:
3434
- name: Checkout
3535
uses: actions/checkout@v4
3636
- name: Setup Bun
37-
uses: oven-sh/setup-bun@v1
37+
uses: oven-sh/setup-bun@v2
3838
- name: Setup Pages
3939
uses: actions/configure-pages@v5
40-
with:
41-
# Automatically inject basePath in your Next.js configuration file and disable
42-
# server side image optimization (https://nextjs.org/docs/api-reference/next/image#unoptimized).
43-
#
44-
# May remove this line if we want to manage the configuration ourself.
45-
static_site_generator: next
4640
- name: Restore cache
4741
uses: actions/cache@v4
4842
with:

src/components/Common/Footer/Footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ const SocialLink = ({
187187
isInView,
188188
}: {
189189
href: string;
190-
icon: React.ElementType;
190+
icon: React.FC<React.SVGProps<SVGSVGElement>>;
191191
label: string;
192192
color: string;
193193
index: number;

src/components/MSE/JoinSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ const FeaturePill = ({
145145
delay,
146146
isInView,
147147
}: {
148-
icon: React.ElementType;
148+
icon: React.FC<React.SVGProps<SVGSVGElement>>;
149149
label: string;
150150
delay: number;
151151
isInView: boolean;

0 commit comments

Comments
 (0)