update
This commit is contained in:
18
test/build.ts
Normal file
18
test/build.ts
Normal 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()
|
||||
Reference in New Issue
Block a user