Skip to content

2.4.1

2.4.1 #168

Workflow file for this run

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@v4
- name: Use Node ${{ matrix.node-version }}
uses: actions/setup-node@v4
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@v4
- name: Use Node ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
env:
CI: true