test: add release v2 browser QA campaign

This commit is contained in:
ajnart committed 2026-09-01 01:03:27 +02:00
1 parent f57a660088
commit ec95d18245
83 files changed
+20922 -19

No files matched your search

+11
View File
@@ -26,10 +26,21 @@ const getDevelopmentServiceAliases = () => {
};
};
const getDistDir = () => {
const qaDistDir = process.env.HOMARR_QA_NEXT_DIST_DIR;
if (!qaDistDir) return ".next";
if (!/^\.next-qa\/slot-[1-3]$/u.test(qaDistDir)) {
throw new Error("HOMARR_QA_NEXT_DIST_DIR must identify .next-qa/slot-1, slot-2, or slot-3");
}
return qaDistDir;
};
const nextConfig: NextConfig = {
// Next previews otherwise create agent instruction files in the application
// directory during development.
agentRules: false,
// Release-v2 QA runs multiple isolated development servers from one worktree.
distDir: getDistDir(),
env: {
HOMARR_VERSION: process.env.HOMARR_VERSION ?? "unknown",
},