Skip to content

Commit 5dd2092

Browse files
authored
feat: supporting all Node versions 20 and up (#798)
* feat: test with Node 24 * Prettier
1 parent 4bc443c commit 5dd2092

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

.github/workflows/push.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,16 @@ jobs:
2020
- name: Run tests (browser)
2121
run: yarn test
2222
test_node:
23-
name: Test (Node.js)
23+
name: Test (Node ${{ matrix.node-version }})
2424
runs-on: ubuntu-latest
25+
strategy:
26+
matrix:
27+
node-version: [20.x, 21.x, 22.x, 23.x, 24.x]
2528
steps:
2629
- uses: actions/checkout@master
2730
- uses: actions/setup-node@v4
2831
with:
29-
node-version: 20.x
32+
node-version: ${{ matrix.node-version }}
3033
cache: 'yarn'
3134
- name: Install Deps
3235
run: yarn install --immutable

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"author": "Qminder <[email protected]> (https://www.qminder.com)",
55
"license": "Apache-2.0",
66
"engines": {
7-
"node": "^22.0.0"
7+
"node": ">=20.*"
88
},
99
"scripts": {
1010
"test": "jest",

packages/javascript-api/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "qminder-api",
3-
"version": "15.0.0",
3+
"version": "15.0.1",
44
"description": "Qminder Javascript API. Makes it easy to leverage Qminder capabilities in your system.",
55
"scripts": {
66
"test": "jest",
@@ -24,7 +24,7 @@
2424
"license": "Apache-2.0",
2525
"type": "module",
2626
"engines": {
27-
"node": "^22.0.0"
27+
"node": ">=20.*"
2828
},
2929
"browserslist": [
3030
"last 2 major versions"

0 commit comments

Comments
 (0)