1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00

chore: Update tests.yml (#2887)

- Add node 22
- Update actions/setup-node from v3 to v4
- Ignore .md files from triggering the workflow
This commit is contained in:
mohamed amine ozennou
2025-01-29 11:40:58 +01:00
committed by GitHub
parent ffa7d2525c
commit ae89341780

View File

@@ -6,25 +6,29 @@ on:
- master - master
- v4.0 - v4.0
- v5 - v5
paths-ignore:
- '**/*.md'
pull_request: pull_request:
branches: branches:
- master - master
- v4.0 - v4.0
- v5 - v5
paths-ignore:
- '**/*.md'
jobs: jobs:
tests: tests:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
node-version: ['18', '20'] node-version: ['18', '20', '22']
redis-version: ['6.2.6-v17', '7.2.0-v13', '7.4.0-v1'] redis-version: ['6.2.6-v17', '7.2.0-v13', '7.4.0-v1']
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
fetch-depth: 1 fetch-depth: 1
- name: Use Node.js ${{ matrix.node-version }} - name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3 uses: actions/setup-node@v4
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
- name: Update npm - name: Update npm