Skip to content

Commit ae89341

Browse files
authored
chore: Update tests.yml (#2887)
- Add node 22 - Update actions/setup-node from v3 to v4 - Ignore .md files from triggering the workflow
1 parent ffa7d25 commit ae89341

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/tests.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,29 @@ on:
66
- master
77
- v4.0
88
- v5
9+
paths-ignore:
10+
- '**/*.md'
911
pull_request:
1012
branches:
1113
- master
1214
- v4.0
1315
- v5
16+
paths-ignore:
17+
- '**/*.md'
1418
jobs:
1519
tests:
1620
runs-on: ubuntu-latest
1721
strategy:
1822
fail-fast: false
1923
matrix:
20-
node-version: ['18', '20']
24+
node-version: ['18', '20', '22']
2125
redis-version: ['6.2.6-v17', '7.2.0-v13', '7.4.0-v1']
2226
steps:
2327
- uses: actions/checkout@v4
2428
with:
2529
fetch-depth: 1
2630
- name: Use Node.js ${{ matrix.node-version }}
27-
uses: actions/setup-node@v3
31+
uses: actions/setup-node@v4
2832
with:
2933
node-version: ${{ matrix.node-version }}
3034
- name: Update npm

0 commit comments

Comments
 (0)