raw download copy
//ci.stage("default stage", (stage) => {
//   stage.job("default job", (job) => {
//    job.run("echo hello world");
//
//     const ipv6 = true;
//
//     if(ipv6) {
//      job.run("deno run --allow-net https://deno.land/[email protected]/examples/curl.ts https://ident.me");
//     } else {
//       job.run("curl ifconfig.me");
//    }
//
//     job.run("echo hello world a second time");
//   });
// });

console.log(ci);

// ci.run("echo hello world");

// const ipv6 = false;

// if(ipv6) {
//   ci.run("deno run --allow-net https://deno.land/[email protected]/examples/curl.ts https://ident.me", 'Get IPv6');
// } else {
//   ci.run("curl ifconfig.me", 'Get IPv4');
// }

// ci.run("echo hello world a second time", {runAfter: 'step_1'});