Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

Update test site build (#2543) (avoid prod deploys on every merge)

Abimael Martell765b88a9cf98
diff --git a/apps/test-site/.npmrc b/apps/test-site/.npmrc
new file mode 100644
index 000000000..50f1de4df
--- /dev/null
+++ b/apps/test-site/.npmrc
@@ -0,0 +1,2 @@
+minimum-release-age=720
+
diff --git a/apps/test-site/astro.config.mjs b/apps/test-site/astro.config.mjs
index 2a5c75fcd..fcf819638 100644
--- a/apps/test-site/astro.config.mjs
+++ b/apps/test-site/astro.config.mjs
@@ -5,6 +5,7 @@ import { defineConfig } from "astro/config";
// TEST_WEBSITE_URL required for deployment
const SITE_URL =
+ (process.env.VERCEL_URL && `https://${process.env.VERCEL_URL}`) ||
process.env.TEST_WEBSITE_URL ||
process.env.TEST_SUITE_WEBSITE ||
"http://127.0.0.1:4321";
diff --git a/apps/test-site/pnpm-workspace.yaml b/apps/test-site/pnpm-workspace.yaml
deleted file mode 100644
index 824cdfa32..000000000
--- a/apps/test-site/pnpm-workspace.yaml
+++ /dev/null
@@ -1 +0,0 @@
-minimumReleaseAge: 720 # 12 hours