Skip to content

Commit 7b6698f

Browse files
authored
Also test latest major Node.js LTS version (#1840)
1 parent 009580f commit 7b6698f

File tree

7 files changed

+9
-8
lines changed

7 files changed

+9
-8
lines changed

.github/workflows/meilisearch-prototype-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- '7700:7700'
4343
strategy:
4444
matrix:
45-
node: ['18', '20']
45+
node: ['18', '20', '22']
4646
name: integration-tests (Node.js ${{ matrix.node }})
4747
steps:
4848
- uses: actions/checkout@v4

.github/workflows/pre-release-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- '7700:7700'
4040
strategy:
4141
matrix:
42-
node: ['18', '20']
42+
node: ['18', '20', '22']
4343
name: integration-tests (Node.js ${{ matrix.node }})
4444
steps:
4545
- uses: actions/checkout@v4

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- uses: actions/checkout@v4
1111
- uses: actions/setup-node@v4
1212
with:
13-
node-version: 20
13+
node-version: 22
1414
registry-url: https://registry.npmjs.org/
1515
cache: 'yarn'
1616
- name: Check release validity

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
strategy:
3535
fail-fast: false
3636
matrix:
37-
node: ['18', '20']
37+
node: ['18', '20', '22']
3838
name: integration-tests (Node.js ${{ matrix.node }})
3939
steps:
4040
- uses: actions/checkout@v4
@@ -69,7 +69,7 @@ jobs:
6969
- name: Setup node
7070
uses: actions/setup-node@v4
7171
with:
72-
node-version: 20
72+
node-version: 22
7373
cache: 'yarn'
7474
- name: Install dependencies
7575
run: yarn --dev
@@ -87,7 +87,7 @@ jobs:
8787
- name: Setup node
8888
uses: actions/setup-node@v4
8989
with:
90-
node-version: 20
90+
node-version: 22
9191
cache: 'yarn'
9292
- name: Install dependencies
9393
run: yarn --dev

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ First of all, thank you for contributing to Meilisearch! The goal of this docume
3434

3535
To run this project, you will need:
3636

37-
- Node >= v18 and Node <= 20
37+
- Node >= v18 and Node <= 22
3838
- Yarn v1.x
3939

4040
### Setup

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ We recommend installing `meilisearch-js` in your project with your package manag
5555
npm install meilisearch
5656
```
5757

58-
`meilisearch-js` officially supports `node` versions 18 LTS and 20 LTS.
58+
`meilisearch-js` officially supports `node` versions 18 Maintenance, 20 Maintenance and 22 LTS.
5959

6060
Instead of using a package manager, you may also import the library directly into your [HTML via a CDN](#include-script-tag).
6161

bors.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ status = [
33
'types-check',
44
'integration-tests (Node.js 18)',
55
'integration-tests (Node.js 20)',
6+
'integration-tests (Node.js 22)',
67
]
78
# 1 hour timeout
89
timeout-sec = 3600

0 commit comments

Comments
 (0)