Skip to content

Commit 1ca088e

Browse files
committed
ci: add build workflow
1 parent 6737768 commit 1ca088e

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.github/workflows/ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
16+
- name: Setup Node.js
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: 22
20+
cache: npm
21+
22+
- name: Install dependencies
23+
run: npm ci
24+
25+
- name: Build
26+
run: npm run build

AGENTS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ Read `docs/dev-rules.md` before writing any code. Key rules:
118118
- Long-poll `/wait` endpoint for agent integration
119119
- Keyboard shortcuts: `Escape` closes dropdown, `Cmd+Enter` submits
120120
- End-to-end tested with OpenClaw (Docker) via Feishu — full loop verified
121+
- Production single-port serving (`npm run build && npm start`)
122+
- Minimal CI build workflow (GitHub Actions: `npm ci && npm run build`)
121123

122124
**Pending:**
123125
- npm global package (`openclaw-ui` on npm)

0 commit comments

Comments
 (0)