Skip to content

Commit 915064b

Browse files
committed
export default action
1 parent 040fcf8 commit 915064b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

actions/ci/hello.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import * as path from "node:path";
21
import { Action } from "../../lib";
32

43
const action = new Action();
4+
55
action.run("echo 'Hello, world!'");
66

7-
action.build(path.join(__dirname, "hello"));
7+
export default action;

actions/ci/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import * as path from "node:path";
21
import { Action } from "../../lib";
32

43
const action = new Action();
4+
55
action.run("bun test");
66

7-
action.build(path.join(__dirname, "test"));
7+
export default action;

0 commit comments

Comments
 (0)