diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index ef36c32d..286d4be5 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -20,13 +20,16 @@ jobs: - name: Run tests (browser) run: yarn test test_node: - name: Test (Node.js) + name: Test (Node ${{ matrix.node-version }}) runs-on: ubuntu-latest + strategy: + matrix: + node-version: [20.x, 21.x, 22.x, 23.x, 24.x] steps: - uses: actions/checkout@master - uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: ${{ matrix.node-version }} cache: 'yarn' - name: Install Deps run: yarn install --immutable diff --git a/package.json b/package.json index f6c2135f..24315dd7 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "author": "Qminder (https://www.qminder.com)", "license": "Apache-2.0", "engines": { - "node": "^22.0.0" + "node": ">=20.*" }, "scripts": { "test": "jest", diff --git a/packages/javascript-api/package.json b/packages/javascript-api/package.json index e1d90672..38504665 100644 --- a/packages/javascript-api/package.json +++ b/packages/javascript-api/package.json @@ -1,6 +1,6 @@ { "name": "qminder-api", - "version": "15.0.0", + "version": "15.0.1", "description": "Qminder Javascript API. Makes it easy to leverage Qminder capabilities in your system.", "scripts": { "test": "jest", @@ -24,7 +24,7 @@ "license": "Apache-2.0", "type": "module", "engines": { - "node": "^22.0.0" + "node": ">=20.*" }, "browserslist": [ "last 2 major versions"