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: |
|
run: |
|
||||||
rm -rf .next .turbo node_modules || true
|
rm -rf .next .turbo node_modules || true
|
||||||
pnpm install --frozen-lockfile
|
pnpm install --frozen-lockfile
|
||||||
- name: 🧪 Parallel Checks
|
- name: 🧪 QA Checks
|
||||||
|
env:
|
||||||
|
NODE_OPTIONS: "--max-old-space-size=4096"
|
||||||
run: |
|
run: |
|
||||||
pnpm lint &
|
pnpm lint
|
||||||
pnpm build &
|
pnpm build
|
||||||
wait
|
|
||||||
|
|||||||
@@ -167,12 +167,16 @@ jobs:
|
|||||||
pnpm install --no-frozen-lockfile
|
pnpm install --no-frozen-lockfile
|
||||||
- name: 🧪 QA Checks
|
- name: 🧪 QA Checks
|
||||||
if: github.event.inputs.skip_checks != 'true'
|
if: github.event.inputs.skip_checks != 'true'
|
||||||
|
env:
|
||||||
|
NODE_OPTIONS: "--max-old-space-size=4096"
|
||||||
run: |
|
run: |
|
||||||
pnpm lint
|
pnpm lint
|
||||||
pnpm exec tsc --noEmit
|
pnpm exec tsc --noEmit
|
||||||
pnpm test run
|
pnpm test run
|
||||||
- name: 🏗️ Build Test
|
- name: 🏗️ Build Test
|
||||||
if: github.event.inputs.skip_checks != 'true'
|
if: github.event.inputs.skip_checks != 'true'
|
||||||
|
env:
|
||||||
|
NODE_OPTIONS: "--max-old-space-size=4096"
|
||||||
run: pnpm build
|
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 NEXT_PUBLIC_UMAMI_WEBSITE_ID=$NEXT_PUBLIC_UMAMI_WEBSITE_ID
|
||||||
ENV SKIP_RUNTIME_ENV_VALIDATION=true
|
ENV SKIP_RUNTIME_ENV_VALIDATION=true
|
||||||
ENV CI=true
|
ENV CI=true
|
||||||
|
ENV NODE_OPTIONS="--max-old-space-size=4096"
|
||||||
|
|
||||||
# Enable pnpm
|
# Enable pnpm
|
||||||
RUN corepack enable && corepack prepare pnpm@10.3.0 --activate
|
RUN corepack enable && corepack prepare pnpm@10.3.0 --activate
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ export default async function Page({ params }: PageProps) {
|
|||||||
try {
|
try {
|
||||||
const mdx = await import(`@/content/${locale}/avb.mdx`);
|
const mdx = await import(`@/content/${locale}/avb.mdx`);
|
||||||
Content = mdx.default;
|
Content = mdx.default;
|
||||||
} catch (e) {
|
} catch {
|
||||||
notFound();
|
notFound();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ export default async function Page({ params }: PageProps) {
|
|||||||
try {
|
try {
|
||||||
const mdx = await import(`@/content/${locale}/datenschutz.mdx`);
|
const mdx = await import(`@/content/${locale}/datenschutz.mdx`);
|
||||||
Content = mdx.default;
|
Content = mdx.default;
|
||||||
} catch (e) {
|
} catch {
|
||||||
notFound();
|
notFound();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ export default async function Page({ params }: PageProps) {
|
|||||||
try {
|
try {
|
||||||
const mdx = await import(`@/content/${locale}/impressum.mdx`);
|
const mdx = await import(`@/content/${locale}/impressum.mdx`);
|
||||||
Content = mdx.default;
|
Content = mdx.default;
|
||||||
} catch (e) {
|
} catch {
|
||||||
notFound();
|
notFound();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import React from "react";
|
import React from "react";
|
||||||
import { Metadata } from "next";
|
import { Metadata } from "next";
|
||||||
import { notFound } from "next/navigation";
|
|
||||||
import HomeContent from "@/components/HomeContent";
|
import HomeContent from "@/components/HomeContent";
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
@@ -21,7 +21,7 @@ export default async function Page({ params }: PageProps) {
|
|||||||
try {
|
try {
|
||||||
const mdx = await import(`@/content/${locale}/index.mdx`);
|
const mdx = await import(`@/content/${locale}/index.mdx`);
|
||||||
Content = mdx.default;
|
Content = mdx.default;
|
||||||
} catch (e) {
|
} catch {
|
||||||
// Fallback if MDX is not yet created for this locale
|
// Fallback if MDX is not yet created for this locale
|
||||||
return <HomeContent />;
|
return <HomeContent />;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ export default async function Page({ params }: PageProps) {
|
|||||||
try {
|
try {
|
||||||
const mdx = await import(`@/content/${locale}/about.mdx`);
|
const mdx = await import(`@/content/${locale}/about.mdx`);
|
||||||
Content = mdx.default;
|
Content = mdx.default;
|
||||||
} catch (e) {
|
} catch {
|
||||||
notFound();
|
notFound();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user