Skip to content

Commit

Permalink
Update Node.js versions that are used in tests (#1620)
Browse files Browse the repository at this point in the history
* Update Node.js versions that are used in tests to current Maintenance and LTS versions

* Update bors.toml
  • Loading branch information
flevi29 authored Jan 16, 2024
1 parent a8b5e4b commit 177947d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/meilisearch-prototype-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- '7700:7700'
strategy:
matrix:
node: ['14', '16', '18']
node: ['18', '20']
name: integration-tests (Node.js ${{ matrix.node }})
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-release-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- '7700:7700'
strategy:
matrix:
node: ['14', '16', '18']
node: ['18', '20']
name: integration-tests (Node.js ${{ matrix.node }})
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
registry-url: https://registry.npmjs.org/
cache: 'yarn'
- name: Check release validity
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node: ['14', '16', '18']
node: ['18', '20']
name: integration-tests (Node.js ${{ matrix.node }})
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
cache: 'yarn'
- name: Install dependencies
run: yarn --dev
Expand All @@ -87,7 +87,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
cache: 'yarn'
- name: Install dependencies
run: yarn --dev
Expand Down
3 changes: 1 addition & 2 deletions bors.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
status = [
'style-check',
'types-check',
'integration-tests (Node.js 14)',
'integration-tests (Node.js 16)',
'integration-tests (Node.js 18)',
'integration-tests (Node.js 20)',
]
# 1 hour timeout
timeout-sec = 3600

0 comments on commit 177947d

Please sign in to comment.