From 790a61be0d13702a53530372b35182e703bbfef6 Mon Sep 17 00:00:00 2001 From: Igor Loskutov Date: Thu, 4 Sep 2025 12:32:15 -0400 Subject: [PATCH] less edgy config (ci) --- .github/workflows/test_next_server.yml | 2 +- www/app/lib/edgeConfig.ts | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/workflows/test_next_server.yml b/.github/workflows/test_next_server.yml index d6671bf6..7acac8ec 100644 --- a/.github/workflows/test_next_server.yml +++ b/.github/workflows/test_next_server.yml @@ -11,7 +11,7 @@ on: - "www/**" jobs: - test-frontend: + test-next-server: runs-on: ubuntu-latest defaults: diff --git a/www/app/lib/edgeConfig.ts b/www/app/lib/edgeConfig.ts index 723e72aa..15ec9689 100644 --- a/www/app/lib/edgeConfig.ts +++ b/www/app/lib/edgeConfig.ts @@ -2,14 +2,6 @@ import { get } from "@vercel/edge-config"; import { isBuildPhase, isCI } from "./next"; -console.log("DEBUG: CI env vars:", { - CI: process.env.CI, - IS_CI: process.env.IS_CI, - isCI, - NEXT_PHASE: process.env.NEXT_PHASE, - isBuildPhase, -}); - type EdgeConfig = { [domainWithDash: string]: { features: { @@ -38,7 +30,6 @@ export function edgeDomainToKey(domain: string) { // get edge config server-side (prefer DomainContext when available), domain is the hostname export async function getConfig() { - throw new Error("next js and github actions are great"); const domain = new URL(process.env.NEXT_PUBLIC_SITE_URL!).hostname; if (isCI) {