make LambdaClientTransport compatible with LambdaTransport server v2 … #160
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: CI | |
on: [push, pull_request] | |
jobs: | |
test_unix: | |
name: ${{ matrix.os-version }}, Node ${{ matrix.node-version }}, Redis ${{ matrix.redis-version }} | |
runs-on: ${{ matrix.os-version }} | |
strategy: | |
matrix: | |
os-version: [ubuntu-latest, macos-latest] | |
node-version: ["14", "16", "18"] | |
redis-version: [6] | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v3 | |
- name: Use Node ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Setup redis | |
uses: shogo82148/actions-setup-redis@v1 | |
with: | |
redis-version: ${{ matrix.redis-version }} | |
- run: npm install | |
- run: npm test | |
env: | |
CI: true | |
# Testing Windows separately because Github CI does not support Redis on Windows. Sigh. | |
# We skip BullMQ (Redis-backed) integration test on Windows using `if (process.platform === "win32")` | |
test_windows: | |
name: Node ${{ matrix.node-version }}, ${{ matrix.os-version }} | |
runs-on: ${{ matrix.os-version }} | |
strategy: | |
matrix: | |
os-version: [windows-latest] | |
node-version: ["14", "16", "18"] | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v3 | |
- name: Use Node ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm install | |
- run: npm test | |
env: | |
CI: true |