changelog for 4.0.0 #263
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: Run tests | |
on: | |
push: | |
paths-ignore: | |
- 'README.md' | |
concurrency: | |
# the group name is composed of two elements: | |
# 1. this workflow name "run-tests" | |
# 2. the branch name retrieved via the "github.ref" variable | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x, 20.x] | |
redis-version: [6, 7] | |
name: Node ${{ matrix.node-version }} - Redis ${{ matrix.redis-version }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Start Redis | |
uses: supercharge/redis-github-action@1.1.0 | |
with: | |
redis-version: ${{ matrix.redis-version }} | |
- name: Install dependencies | |
run: npm install | |
- name: Run tests | |
run: npm test | |
env: | |
CI: true |