Compare commits

..

2 Commits

Author SHA1 Message Date
b10dbcb23f fix(ci): Persist Next.js BuildKit cache mount to runner stage
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 15s
Build & Deploy / 🧪 QA (push) Successful in 9m12s
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / ♿ WCAG (push) Has been cancelled
Build & Deploy / 🛡️ Quality Gates (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
Build & Deploy / 🏗️ Build (push) Has started running
2026-02-23 02:26:41 +01:00
65bb9c620a chore(ci): Fix TURBO_TELEMETRY_DISABLED variable type
Some checks failed
Build & Deploy / 🔍 Prepare (push) Has started running
Build & Deploy / 🧪 QA (push) Has been cancelled
Build & Deploy / 🏗️ Build (push) Has been cancelled
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / ♿ WCAG (push) Has been cancelled
Build & Deploy / 🛡️ Quality Gates (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
2026-02-23 02:25:49 +01:00
3 changed files with 6 additions and 4 deletions

View File

@@ -57,7 +57,7 @@ jobs:
- name: 🧪 QA Checks
env:
TURBO_TELEMETRY_DISABLED: 1
TURBO_TELEMETRY_DISABLED: "1"
run: npx turbo run check:mdx lint typecheck test --cache-dir=".turbo"
- name: 🏗️ Build

View File

@@ -185,7 +185,7 @@ jobs:
- name: 🧪 QA Checks
if: github.event.inputs.skip_checks != 'true'
env:
TURBO_TELEMETRY_DISABLED: 1
TURBO_TELEMETRY_DISABLED: "1"
run: npx turbo run lint check:spell typecheck test --cache-dir=".turbo"
# ──────────────────────────────────────────────────────────────────────────────

View File

@@ -42,7 +42,9 @@ CMD ["pnpm", "dev:local"]
# Stage 3: Builder (Production)
FROM base AS builder
RUN --mount=type=cache,target=/app/.next/cache,id=nextjs-cache \
pnpm build
pnpm build && \
mkdir -p /app/.next-cache-tmp && \
cp -r /app/.next/cache/* /app/.next-cache-tmp/ || true
# Stage 3: Runner
FROM registry.infra.mintel.me/mintel/runtime:v1.7.10 AS runner
@@ -61,6 +63,6 @@ ENV NODE_ENV=production
COPY --from=builder --chown=nextjs:nodejs /app/public ./public
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
COPY --from=builder --chown=nextjs:nodejs /app/.next/cache ./.next/cache
COPY --from=builder --chown=nextjs:nodejs /app/.next-cache-tmp ./.next/cache
CMD ["node", "server.js"]