Skip to content

add cloudAMQP.js

add cloudAMQP.js #126

Workflow file for this run

name: kafka
on:
push:
defaults:
run:
working-directory: kafka
jobs:
oracle:
environment: OCIStreaming
env:
authToken: ${{ secrets.AUTH_TOKEN }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: actions/setup-node@main
with:
node-version: latest
- run: npm i
- run: npm run oracle
local:
runs-on: ubuntu-latest
steps:
- uses: davidkhala/setup-dockerode@main
- run: |
curl -sSL https://raw.githubusercontent.com/davidkhala/mq/main/kafka/bitnami/docker-compose.yml > docker-compose.yml
docker compose up -d
- run: sleep 7
- run: npm i
- run: npm run test:local
pulsar:
runs-on: ubuntu-latest
defaults:
run:
working-directory: pulsar
steps:
- uses: davidkhala/setup-dockerode@main
- run: |
curl -sSL https://raw.githubusercontent.com/davidkhala/mq/main/pulsar/docker-compose.yml > docker-compose.yml
docker compose up -d
- run: sleep 7
- run: npm i
- run: npm test