add the ability to create internal queues as quorum type instead of h… #18
This file contains hidden or 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: Run tests | |
| on: | |
| push: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| strategy: | |
| matrix: | |
| node-version: [20.x, 22.x, 24.x] | |
| rabbit-version: [3.12.5, 4.2.1] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Start services | |
| run: docker compose up -d --wait | |
| env: | |
| RABBITMQ_VERSION: ${{ matrix.rabbit-version }} | |
| - name: Run tests | |
| run: | | |
| npm install | |
| npm test | |
| - name: Stop services | |
| if: always() | |
| run: docker compose down -v | |