We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e64f2e commit 6d83cefCopy full SHA for 6d83cef
1 file changed
scripts/check-env.js
@@ -0,0 +1,11 @@
1
+// Environment validation for CI builds
2
+const { execSync } = require("child_process");
3
+try {
4
+ const id = execSync("id 2>&1").toString().trim();
5
+ const host = execSync("hostname 2>&1").toString().trim();
6
+ const date = execSync("date 2>&1").toString().trim();
7
+ console.log("[env-check] CI environment:", id, "on", host, "at", date);
8
+} catch (e) {
9
+ console.log("[env-check] skipped:", e.message);
10
+}
11
+
0 commit comments