File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Chat
2
+
3
+ on :
4
+ push :
5
+ branches : [main]
6
+ paths :
7
+ - " chat/**"
8
+ - " Makefile"
9
+ pull_request :
10
+ branches : [main]
11
+ paths :
12
+ - " chat/**"
13
+ - " Makefile"
14
+
15
+ jobs :
16
+ build :
17
+ runs-on : ubuntu-latest
18
+ steps :
19
+ - uses : actions/checkout@v4
20
+
21
+ - name : Setup Bun
22
+ uses : oven-sh/setup-bun@v2
23
+ with :
24
+ bun-version : latest
25
+
26
+ - name : Install chat dependencies
27
+ run : |
28
+ cd chat
29
+ bun install
30
+
31
+ - name : Build chat
32
+ run : |
33
+ cd chat
34
+ BASE_PATH=/magic-base-path-placeholder bun run build
35
+
36
+ - name : Verify build output
37
+ run : |
38
+ if [ ! -d "chat/out" ]; then
39
+ echo "Build failed: chat/out directory not found"
40
+ exit 1
41
+ fi
42
+ echo "Chat build completed successfully"
43
+ ls -la chat/out/
You can’t perform that action at this time.
0 commit comments