-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
88 changed files
with
5,931 additions
and
2,123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: integration-test | ||
on: | ||
push: | ||
branches: | ||
- "*" | ||
pull_request_target: | ||
branches: | ||
- "*" | ||
jobs: | ||
smoke-tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: pnpm/action-setup@v3 | ||
with: | ||
version: 9.4.0 | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: "23" | ||
cache: "pnpm" | ||
|
||
- name: Run smoke tests | ||
run: pnpm run smokeTests | ||
integration-tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: pnpm/action-setup@v3 | ||
with: | ||
version: 9.4.0 | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: "23" | ||
cache: "pnpm" | ||
|
||
- name: Install dependencies | ||
run: pnpm install -r | ||
|
||
- name: Build packages | ||
run: pnpm build | ||
|
||
- name: Run integration tests | ||
env: | ||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | ||
run: | | ||
if [ -z "$OPENAI_API_KEY" ]; then | ||
echo "Skipping integration tests due to missing required API keys" | ||
exit 1 | ||
else | ||
pnpm run integrationTests | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Check pull request source branch | ||
on: | ||
pull_request_target: | ||
types: | ||
- opened | ||
- reopened | ||
- synchronize | ||
- edited | ||
jobs: | ||
check-branches: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check branches | ||
run: | | ||
if [ ${{ github.head_ref }} != "develop" ] && [ ${{ github.base_ref }} == "main" ]; then | ||
echo "Merge requests to main branch are only allowed from dev branch." | ||
exit 1 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,3 +46,5 @@ packages/plugin-coinbase/package-lock.json | |
tsup.config.bundled_*.mjs | ||
|
||
.turbo | ||
|
||
coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.