Skip to content

chore: drop vendored steward fork, use @stwd npm packages #20

chore: drop vendored steward fork, use @stwd npm packages

chore: drop vendored steward fork, use @stwd npm packages #20

name: Cloud Gateway Webhook
# Source: cloud/.github/workflows/gateway-webhook.yml in the original elizaOS/cloud repo.
on:
push:
branches: [main, develop]
paths:
- "cloud/services/gateway-webhook/**"
- ".github/workflows/cloud-gateway-webhook.yml"
pull_request:
branches: [main, develop]
paths:
- "cloud/services/gateway-webhook/**"
- ".github/workflows/cloud-gateway-webhook.yml"
concurrency:
group: cloud-gateway-webhook-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
defaults:
run:
working-directory: cloud
env:
BUN_VERSION: "1.3.9"
jobs:
test:
name: Test
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v5
- uses: oven-sh/setup-bun@v2
with:
bun-version: ${{ env.BUN_VERSION }}
- name: Install root dependencies
run: bun install --frozen-lockfile
- name: Install service dependencies
run: cd services/gateway-webhook && bun install --frozen-lockfile
- name: Run unit tests (isolated — mock.module is process-global in bun)
working-directory: cloud/services/gateway-webhook
run: |
bun test ./__tests__/build-forward-body.test.ts --timeout 60000
bun test ./__tests__/internal-auth.test.ts --timeout 60000