Skip to content

Commit 0efb57d

Browse files
committed
Merge branch 'shaw/v2-socket-everything' of https://github.com/elizaOS/eliza into HEAD
2 parents a0cba4c + ec31ef0 commit 0efb57d

File tree

13 files changed

+462
-377
lines changed

13 files changed

+462
-377
lines changed

.github/workflows/ci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
run: bun run lint
3939

4040
- name: Build packages
41-
run: bun run build
41+
run: bun run build && bun run build:docs
4242

4343
- name: Upload coverage reports to Codecov
4444
uses: codecov/codecov-action@v5

.github/workflows/plugin-publish.yml

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: Plugin Publish
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
plugin_path:
7+
description: 'Path to the plugin directory relative to repository root'
8+
required: true
9+
type: string
10+
platform:
11+
description: 'Platform compatibility (node, browser, universal)'
12+
required: false
13+
default: 'universal'
14+
type: string
15+
registry:
16+
description: 'Target registry'
17+
required: false
18+
default: 'elizaos/registry'
19+
type: string
20+
21+
jobs:
22+
publish-plugin:
23+
runs-on: ubuntu-latest
24+
25+
steps:
26+
- name: Checkout code
27+
uses: actions/checkout@v4
28+
29+
- name: Setup Node.js
30+
uses: actions/setup-node@v4
31+
with:
32+
node-version: '18'
33+
34+
- name: Setup Bun
35+
uses: oven-sh/setup-bun@v1
36+
with:
37+
bun-version: latest
38+
39+
- name: Install dependencies
40+
run: bun install
41+
42+
- name: Build plugin
43+
run: |
44+
cd ${{ github.event.inputs.plugin_path }}
45+
bun run build
46+
47+
- name: Publish plugin
48+
env:
49+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
50+
GH_USERNAME: ${{ github.actor }}
51+
run: |
52+
cd ${{ github.event.inputs.plugin_path }}
53+
npx @elizaos/cli plugin publish \
54+
--registry ${{ github.event.inputs.registry }} \
55+
--platform ${{ github.event.inputs.platform }}

.github/workflows/pre-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
run: bun install
4040

4141
- name: Build packages
42-
run: bun run build
42+
run: bun run build && bun run build:docs
4343

4444
- name: Tag and Publish Packages
4545
id: tag_publish

.github/workflows/release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
run: bun run lint
4343

4444
- name: Build packages
45-
run: bun run build
45+
run: bun run build && bun run build:docs
4646

4747
- name: Publish Packages
4848
id: publish

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"dev": "turbo run dev --filter=./packages/the-org",
99
"build:cli": "turbo run build --filter=@elizaos/cli --no-cache",
1010
"build:core": "turbo run build --filter=@elizaos/core --no-cache",
11-
"build": "bun run build:core && turbo run build --filter=@elizaos/plugin-* --filter=@elizaos/client --no-cache && turbo run build --filter=!@elizaos/core --filter=!@elizaos/plugin-* --no-cache",
11+
"build:docs": "turbo run build --filter=@elizaos/docs --no-cache",
12+
"build": "bun run build:core && turbo run build --filter=@elizaos/plugin-* --filter=@elizaos/client --no-cache && turbo run build --filter=!@elizaos/core --filter=!@elizaos/docs --filter=!@elizaos/plugin-* --no-cache",
1213
"clean": "rm -rf dist .turbo node_modules .turbo-tsconfig.json tsconfig.tsbuildinfo bun.lock* && turbo run clean --filter=./packages/*",
1314
"lint": "turbo run lint --filter=./packages/* && bun run lint:format",
1415
"lint:format": "bun run format && bun run format:check",

0 commit comments

Comments
 (0)