File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,55 +3,13 @@ name: Code Quality
33on :
44 pull_request :
55 branches : [ main ]
6+ workflow_dispatch :
67
78jobs :
8- type-check :
9- runs-on : ubuntu-latest
10-
11- steps :
12- - uses : actions/checkout@v6
13-
14- - name : Setup Bun
15- uses : oven-sh/setup-bun@v2
16-
17- - name : Install dependencies
18- run : |
19- bun install
20-
21- - name : Run
22- run : |
23- bun run type-check
24-
25- # lint:
26- # runs-on: ubuntu-latest
27-
28- # steps:
29- # - uses: actions/checkout@v6
30-
31- # - name: Setup Bun
32- # uses: oven-sh/setup-bun@v2
33-
34- # - name: Install dependencies
35- # run: |
36- # bun install
37-
38- # - name: Run
39- # run: |
40- # bun run lint -- --ignore-pattern '**/__tests__/**'
41-
42- prettier :
43- runs-on : ubuntu-latest
44-
45- steps :
46- - uses : actions/checkout@v6
47-
48- - name : Setup Bun
49- uses : oven-sh/setup-bun@v2
50-
51- - name : Install dependencies
52- run : |
53- bun install
54-
55- - name : Run
56- run : |
57- bun run format:check
9+ check :
10+ uses : drehelis/improved-chainsaw/.github/workflows/code-quality.yml@main
11+ with :
12+ build : true
13+ prettier : true
14+ lint : false
15+ type-check : true
Original file line number Diff line number Diff line change @@ -24,7 +24,18 @@ function updateConfig(path: string, value: any) {
2424 emit (" update:config" , newConfig );
2525}
2626
27- const TOOL_MOUNTS = [
27+ interface ToolDefinition {
28+ id: string ;
29+ name: string ;
30+ desc: string ;
31+ mounts: (
32+ | string
33+ | { source: string ; target: string ; type: string ; [k : string ]: any }
34+ )[];
35+ remoteEnv? : Record <string , string >;
36+ }
37+
38+ const TOOL_MOUNTS: ToolDefinition [] = [
2839 {
2940 id: " bash-history" ,
3041 name: " Persist Bash History" ,
You can’t perform that action at this time.
0 commit comments