diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 646a2d96..305277ba 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -5,7 +5,7 @@ name: Deploy Package on: push: - branches: [ master ] + branches: [ master, v6 ] jobs: build: @@ -14,7 +14,7 @@ jobs: strategy: matrix: - node-version: [14.x, 16.x, 18.x] + node-version: [18.x, 20.x, 22.x] steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 1ad05a66..92ee104b 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -5,7 +5,7 @@ name: Node.js CI on: pull_request: - branches: [ master, next-major ] + branches: [ master, v6 ] jobs: build: @@ -14,7 +14,7 @@ jobs: strategy: matrix: - node-version: [14.x, 16.x, 18.x] + node-version: [18.x, 20.x, 22.x] steps: - uses: actions/checkout@v2 diff --git a/package.json b/package.json index 43686dd8..8f7aa861 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,12 @@ { "name": "json-rules-engine", - "version": "6.6.0", + "version": "7.0.0", "description": "Rules Engine expressed in simple json", "main": "dist/index.js", "types": "types/index.d.ts", + "engines": { + "node": ">=18.0.0" + }, "scripts": { "test": "mocha && npm run lint --silent && npm run test:types", "test:types": "tsd", @@ -89,6 +92,6 @@ "clone": "^2.1.2", "eventemitter2": "^6.4.4", "hash-it": "^6.0.0", - "jsonpath-plus": "^7.2.0" + "jsonpath-plus": "^10.0.0" } }