Skip to content

Commit bbe4146

Browse files
authored
chore(fix): build (#46)
1 parent 483b61e commit bbe4146

2 files changed

Lines changed: 20 additions & 51 deletions

File tree

.github/workflows/code-quality.yml

Lines changed: 8 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -3,55 +3,13 @@ name: Code Quality
33
on:
44
pull_request:
55
branches: [ main ]
6+
workflow_dispatch:
67

78
jobs:
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

src/components/MountsSection.vue

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff 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",

0 commit comments

Comments
 (0)