-
Notifications
You must be signed in to change notification settings - Fork 119
43 lines (37 loc) · 849 Bytes
/
chat.yml
File metadata and controls
43 lines (37 loc) · 849 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Chat
on:
push:
branches: [main]
paths:
- "chat/**"
- "Makefile"
pull_request:
branches: [main]
paths:
- "chat/**"
- "Makefile"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install chat dependencies
run: |
cd chat
bun install
- name: Build chat
run: |
cd chat
BASE_PATH=/magic-base-path-placeholder bun run build
- name: Verify build output
run: |
if [ ! -d "chat/out" ]; then
echo "Build failed: chat/out directory not found"
exit 1
fi
echo "Chat build completed successfully"
ls -la chat/out/