This commit is contained in:
2026-01-05 10:50:37 +08:00
parent 2707286d7d
commit 2724f09a5b
6 changed files with 121 additions and 150 deletions

18
test/build.ts Normal file
View File

@@ -0,0 +1,18 @@
import { Build } from "../src/index.ts";
import { token, showMore, cookie } from "./common.ts";
const repo = new Build({ group: "kevisual", token: token, cookie: cookie });
const main = async () => {
const build = await repo.startBuild('cnb', {
branch: 'main',
env: {
},
event: 'api_trigger_test',
config: ``,
});
console.log("build", build);
}
main()