diff --git a/.github/workflows/build-js.yml b/.github/workflows/build-js.yml index c69e5db80..a62ab9077 100644 --- a/.github/workflows/build-js.yml +++ b/.github/workflows/build-js.yml @@ -2,9 +2,9 @@ name: Build JS on: push: - branches: [ main ] + branches: [main] pull_request: - branches: [ main ] + branches: [main] jobs: build: @@ -20,15 +20,36 @@ jobs: with: node-version: 20 cache: pnpm - cache-dependency-path: 'pnpm-lock.yaml' + cache-dependency-path: "pnpm-lock.yaml" - name: Install dependencies run: pnpm install --frozen-lockfile - - name: Build affected projects - run: pnpm -r --workspace-concurrency=1 build + - name: Build packages + run: pnpm --filter "./packages/**" --workspace-concurrency=1 run build env: NODE_OPTIONS: --max-old-space-size=6144 - - name: Check affected projects - run: pnpm -r run ci + - name: Run Packages CI + run: pnpm --filter "./packages/**" --workspace-concurrency=1 run ci + + build-examples: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - uses: pnpm/action-setup@v2 + with: + version: 9.0.6 + - uses: actions/setup-node@v4 + with: + node-version: 20 + cache: pnpm + cache-dependency-path: "pnpm-lock.yaml" + + - name: Install dependencies + run: pnpm install --frozen-lockfile + + - name: Build examples + run: pnpm --filter "./examples/**" --workspace-concurrency=1 run build diff --git a/docs/content/docs/agent/getting-started/quickstart.mdx b/docs/content/docs/agent/getting-started/quickstart.mdx index 601feb6eb..3037b35a2 100644 --- a/docs/content/docs/agent/getting-started/quickstart.mdx +++ b/docs/content/docs/agent/getting-started/quickstart.mdx @@ -3,7 +3,7 @@ title: Quickstart description: Scaffold a working streaming chat agent (conversation history, tools, artifacts, and generative UI) in a few minutes with the OpenUI CLI. --- -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 AGENTS.md from here to enable working with coding agents. +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 AGENTS.md from here to enable working with coding agents. ## 1. Create