Skip to content

Commit 9e87622

Browse files
authored
Merge branch 'develop' into plugin-documentation
2 parents cc2bab6 + 307b9c0 commit 9e87622

File tree

4 files changed

+45
-32
lines changed

4 files changed

+45
-32
lines changed
+5-29
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,13 @@
1-
name: integration-test
1+
name: Integration Tests
22
on:
33
push:
44
branches:
55
- "*"
6-
pull_request:
6+
pull_request_target:
77
branches:
88
- "*"
9-
jobs:
10-
smoke-tests:
11-
runs-on: ubuntu-latest
12-
steps:
13-
- uses: actions/checkout@v4
14-
15-
- uses: pnpm/action-setup@v3
16-
with:
17-
version: 9.4.0
189

19-
- uses: actions/setup-node@v4
20-
with:
21-
node-version: "23"
22-
cache: "pnpm"
23-
24-
- name: Run smoke tests
25-
run: pnpm run smokeTests
10+
jobs:
2611
integration-tests:
2712
runs-on: ubuntu-latest
2813
env:
@@ -46,20 +31,11 @@ jobs:
4631
run: pnpm build
4732

4833
- name: Check for API key
49-
id: check_api_key
5034
run: |
5135
if [ -z "$OPENAI_API_KEY" ]; then
52-
echo "::set-output name=api_key_present::false"
53-
else
54-
echo "::set-output name=api_key_present::true"
36+
echo "Error: OPENAI_API_KEY is not set."
37+
exit 1
5538
fi
5639
5740
- name: Run integration tests
58-
if: steps.check_api_key.outputs.api_key_present == 'true'
5941
run: pnpm run integrationTests
60-
61-
- name: Skip integration tests
62-
if: steps.check_api_key.outputs.api_key_present == 'false'
63-
run: |
64-
echo "Skipping integration tests due to missing required API keys"
65-
exit 1

.github/workflows/smoke-tests.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: smoke-test
2+
on:
3+
push:
4+
branches:
5+
- "*"
6+
pull_request:
7+
branches:
8+
- "*"
9+
10+
jobs:
11+
smoke-tests:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- uses: pnpm/action-setup@v3
17+
with:
18+
version: 9.4.0
19+
20+
- uses: actions/setup-node@v4
21+
with:
22+
node-version: "23"
23+
cache: "pnpm"
24+
25+
- name: Run smoke tests
26+
run: pnpm run smokeTests

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ cd eliza-starter
5555
cp .env.example .env
5656
pnpm i && pnpm build && pnpm start
5757
```
58+
Once the agent is running, You should see the message to run "pnpm start:client" at the end.
59+
Open another terminal and move to same directory and then run below command and follow the URL to chat to your agent.
60+
```bash
61+
pnpm start:client
62+
```
5863

5964
Then read the [Documentation](https://elizaos.github.io/eliza/) to learn how to customize your Eliza.
6065

docs/docs/quickstart.md

+9-3
Original file line numberDiff line numberDiff line change
@@ -213,9 +213,15 @@ pnpm start --characters="characters/trump.character.json,characters/tate.charact
213213

214214
1. **Node.js Version**
215215

216-
- Ensure Node.js 23.3.0 is installed
217-
- Use `node -v` to check version
218-
- Consider using [nvm](https://github.com/nvm-sh/nvm) to manage Node versions
216+
- Ensure Node.js 23.3.0 is installed
217+
- Use `node -v` to check version
218+
- Consider using [nvm](https://github.com/nvm-sh/nvm) to manage Node versions
219+
220+
NOTE: pnpm may be bundled with a different node version, ignoring nvm. If this is the case, you can use
221+
```bash
222+
pnpm env use --global 23.3.0
223+
```
224+
to force it to use the correct one.
219225

220226
2. **Sharp Installation**
221227
If you see Sharp-related errors:

0 commit comments

Comments
 (0)