Appearance
Share data between jobs made easy
Simply use JavaScript variables to store data to be used in later branches
ts
import { job, task, $ } from "@pandaci/core";
let devURL = "";
job("Deploy dev", () => {
task.native("deploy", () => {
devURL = await $`deploy`.text();
});
});
job("Run E2E", () => {
task.native("Playwright", () => {
$`run tests --url ${devURL}`;
});
});