add cloudAMQP.js #21
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
name: mq | |
on: | |
push: | |
jobs: | |
activemq: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: activemq | |
steps: | |
- uses: davidkhala/setup-dockerode@main | |
- run: | | |
curl -sSL https://raw.githubusercontent.com/davidkhala/mq/main/activeMQ/compose.yaml > compose.yaml | |
docker compose up -d | |
- run: npm i | |
- run: npm test | |
rabbitmq: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: rabbitmq | |
steps: | |
- uses: davidkhala/setup-dockerode@main | |
- run: | | |
curl -sSL https://raw.githubusercontent.com/davidkhala/mq/main/rabbitmq/compose.yaml > compose.yaml | |
docker compose up -d | |
- run: sleep 15 | |
- run: npm i | |
- run: npm test | |
env: | |
CLOUDAMQP_PASSWORD: ${{secrets.CLOUDAMQP_PASSWORD}} | |
solace: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: solace | |
steps: | |
- uses: actions/checkout@main | |
- run: | | |
curl -sSL https://raw.githubusercontent.com/davidkhala/mq/main/solace/compose.yaml > compose.yaml | |
docker compose up -d | |
- uses: actions/setup-node@main | |
with: | |
check-latest: true | |
node-version: lts/* | |
- run: npm i | |
- run: sleep 15 | |
- run: npm test |