Skip to content

Commit 553102f

Browse files
Add node versions to tests
1 parent cb08d44 commit 553102f

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,21 @@ jobs:
99
build-and-test:
1010
name: Build and test
1111
runs-on: ubuntu-latest
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
version:
16+
- '18.18'
17+
- '22.20'
18+
- '24.9'
1219
steps:
1320
- name: Checkout code
1421
uses: actions/checkout@v5
1522

16-
- name: Install Node.js
23+
- name: Install Node.js v${{ matrix.version }}
1724
uses: actions/setup-node@v5
1825
with:
19-
node-version: 18.18.0
26+
node-version: ${{ matrix.version }}
2027

2128
- run: npm ci
2229
- run: npm run lint

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This services exposes a set of APIs to produce server side evaluation of flags b
88
[![Twitter Follow](https://img.shields.io/twitter/follow/splitsoftware.svg?style=social&label=Follow&maxAge=1529000)](https://twitter.com/intent/follow?screen_name=splitsoftware)
99

1010
## Compatibility
11-
Split Evaluator supports Node version 8 or higher.
11+
Split Evaluator supports Node version 16 or higher.
1212

1313
## Getting started
1414
Below is a simple example that describes the instantiation of Split Evaluator:

0 commit comments

Comments
 (0)