Skip to content

Commit 9707ba9

Browse files
authored
Split Github Workflow (#704)
* fix: link AGENTS.md * fix: update workflow * fix: rename job
1 parent fa1ec09 commit 9707ba9

2 files changed

Lines changed: 29 additions & 8 deletions

File tree

.github/workflows/build-js.yml

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Build JS
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66
pull_request:
7-
branches: [ main ]
7+
branches: [main]
88

99
jobs:
1010
build:
@@ -20,15 +20,36 @@ jobs:
2020
with:
2121
node-version: 20
2222
cache: pnpm
23-
cache-dependency-path: 'pnpm-lock.yaml'
23+
cache-dependency-path: "pnpm-lock.yaml"
2424

2525
- name: Install dependencies
2626
run: pnpm install --frozen-lockfile
2727

28-
- name: Build affected projects
29-
run: pnpm -r --workspace-concurrency=1 build
28+
- name: Build packages
29+
run: pnpm --filter "./packages/**" --workspace-concurrency=1 run build
3030
env:
3131
NODE_OPTIONS: --max-old-space-size=6144
3232

33-
- name: Check affected projects
34-
run: pnpm -r run ci
33+
- name: Run Packages CI
34+
run: pnpm --filter "./packages/**" --workspace-concurrency=1 run ci
35+
36+
build-examples:
37+
runs-on: ubuntu-latest
38+
steps:
39+
- uses: actions/checkout@v4
40+
with:
41+
fetch-depth: 0
42+
- uses: pnpm/action-setup@v2
43+
with:
44+
version: 9.0.6
45+
- uses: actions/setup-node@v4
46+
with:
47+
node-version: 20
48+
cache: pnpm
49+
cache-dependency-path: "pnpm-lock.yaml"
50+
51+
- name: Install dependencies
52+
run: pnpm install --frozen-lockfile
53+
54+
- name: Build examples
55+
run: pnpm --filter "./examples/**" --workspace-concurrency=1 run build

docs/content/docs/agent/getting-started/quickstart.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Quickstart
33
description: Scaffold a working streaming chat agent (conversation history, tools, artifacts, and generative UI) in a few minutes with the OpenUI CLI.
44
---
55

6-
The CLI scaffolds a complete Next.js app: a streaming chat with a sidebar, thread list, composer, and generative UI on by default. You write no boilerplate: create, connect, run. You can add an <a style={{ color: 'var(--swatch-lime-500)' }}>AGENTS.md</a> from here to enable working with coding agents.
6+
The CLI scaffolds a complete Next.js app: a streaming chat with a sidebar, thread list, composer, and generative UI on by default. You write no boilerplate: create, connect, run. You can add an <a style={{ color: 'var(--swatch-lime-500)' }} href="/AGENTS.md">AGENTS.md</a> from here to enable working with coding agents.
77

88
## 1. Create
99

0 commit comments

Comments
 (0)