fix: resolve linting errors and increase node heap size for CI stability
Some checks failed
🚀 Build & Deploy / 🔍 Prepare (push) Successful in 4s
🚀 Build & Deploy / 🧪 QA (push) Failing after 3m5s
🚀 Build & Deploy / 🏗️ Build (push) Failing after 13m16s
🚀 Build & Deploy / 🚀 Deploy (push) Has been skipped
🚀 Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
🚀 Build & Deploy / 🔔 Notify (push) Successful in 2s
Some checks failed
🚀 Build & Deploy / 🔍 Prepare (push) Successful in 4s
🚀 Build & Deploy / 🧪 QA (push) Failing after 3m5s
🚀 Build & Deploy / 🏗️ Build (push) Failing after 13m16s
🚀 Build & Deploy / 🚀 Deploy (push) Has been skipped
🚀 Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
🚀 Build & Deploy / 🔔 Notify (push) Successful in 2s
This commit is contained in:
@@ -29,8 +29,9 @@ jobs:
|
||||
run: |
|
||||
rm -rf .next .turbo node_modules || true
|
||||
pnpm install --frozen-lockfile
|
||||
- name: 🧪 Parallel Checks
|
||||
- name: 🧪 QA Checks
|
||||
env:
|
||||
NODE_OPTIONS: "--max-old-space-size=4096"
|
||||
run: |
|
||||
pnpm lint &
|
||||
pnpm build &
|
||||
wait
|
||||
pnpm lint
|
||||
pnpm build
|
||||
|
||||
@@ -167,12 +167,16 @@ jobs:
|
||||
pnpm install --no-frozen-lockfile
|
||||
- name: 🧪 QA Checks
|
||||
if: github.event.inputs.skip_checks != 'true'
|
||||
env:
|
||||
NODE_OPTIONS: "--max-old-space-size=4096"
|
||||
run: |
|
||||
pnpm lint
|
||||
pnpm exec tsc --noEmit
|
||||
pnpm test run
|
||||
- name: 🏗️ Build Test
|
||||
if: github.event.inputs.skip_checks != 'true'
|
||||
env:
|
||||
NODE_OPTIONS: "--max-old-space-size=4096"
|
||||
run: pnpm build
|
||||
|
||||
# ──────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
@@ -21,6 +21,7 @@ ENV UMAMI_API_ENDPOINT=$UMAMI_API_ENDPOINT
|
||||
ENV NEXT_PUBLIC_UMAMI_WEBSITE_ID=$NEXT_PUBLIC_UMAMI_WEBSITE_ID
|
||||
ENV SKIP_RUNTIME_ENV_VALIDATION=true
|
||||
ENV CI=true
|
||||
ENV NODE_OPTIONS="--max-old-space-size=4096"
|
||||
|
||||
# Enable pnpm
|
||||
RUN corepack enable && corepack prepare pnpm@10.3.0 --activate
|
||||
|
||||
@@ -14,7 +14,7 @@ export default async function Page({ params }: PageProps) {
|
||||
try {
|
||||
const mdx = await import(`@/content/${locale}/avb.mdx`);
|
||||
Content = mdx.default;
|
||||
} catch (e) {
|
||||
} catch {
|
||||
notFound();
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ export default async function Page({ params }: PageProps) {
|
||||
try {
|
||||
const mdx = await import(`@/content/${locale}/datenschutz.mdx`);
|
||||
Content = mdx.default;
|
||||
} catch (e) {
|
||||
} catch {
|
||||
notFound();
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ export default async function Page({ params }: PageProps) {
|
||||
try {
|
||||
const mdx = await import(`@/content/${locale}/impressum.mdx`);
|
||||
Content = mdx.default;
|
||||
} catch (e) {
|
||||
} catch {
|
||||
notFound();
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React from "react";
|
||||
import { Metadata } from "next";
|
||||
import { notFound } from "next/navigation";
|
||||
|
||||
import HomeContent from "@/components/HomeContent";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
@@ -21,7 +21,7 @@ export default async function Page({ params }: PageProps) {
|
||||
try {
|
||||
const mdx = await import(`@/content/${locale}/index.mdx`);
|
||||
Content = mdx.default;
|
||||
} catch (e) {
|
||||
} catch {
|
||||
// Fallback if MDX is not yet created for this locale
|
||||
return <HomeContent />;
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ export default async function Page({ params }: PageProps) {
|
||||
try {
|
||||
const mdx = await import(`@/content/${locale}/about.mdx`);
|
||||
Content = mdx.default;
|
||||
} catch (e) {
|
||||
} catch {
|
||||
notFound();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user