Files
bun.sh/.buildkite/scripts/upload-benchmark.mjs
2025-05-05 19:40:29 -07:00

8 lines
275 B
JavaScript

import { getCommit, getSecret } from "../../scripts/utils.mjs";
console.log("Submitting...");
const response = await fetch(getSecret("BENCHMARK_URL") + "?tag=_&commit=" + getCommit() + "&artifact_url=_", {
method: "POST",
});
console.log("Got status " + response.status);