From b50c01e65caabacb02e46617ceba452366b11bab Mon Sep 17 00:00:00 2001 From: freearhey <7253922+freearhey@users.noreply.github.com> Date: Thu, 5 Dec 2024 14:24:03 +0300 Subject: [PATCH] Bump node version to 22.12.0 --- .github/workflows/check.yml | 2 +- .github/workflows/deploy.yml | 2 +- .github/workflows/update.yml | 2 +- package.json | 15 ++++++++++----- 4 files changed, 13 insertions(+), 8 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 57ec7389..cec77f36 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/setup-node@v3 if: ${{ !env.ACT }} with: - node-version: '18.18.2' + node-version: '22.12.0' cache: 'npm' - uses: tj-actions/changed-files@v35 id: files diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a5157095..4f9c7a29 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/setup-node@v3 if: ${{ !env.ACT }} with: - node-version: '18.18.2' + node-version: '22.12.0' cache: 'npm' - name: install dependencies run: npm install diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 57434fe1..4c0a4ae3 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -21,7 +21,7 @@ jobs: - uses: actions/setup-node@v3 if: ${{ !env.ACT }} with: - node-version: '18.18.2' + node-version: '22.12.0' cache: 'npm' - name: install dependencies run: npm install diff --git a/package.json b/package.json index 1e253b91..4de3cfb7 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "test": "jest --runInBand" }, "engines": { - "node": ">=18.0.0 <18.19.0" + "node": ">=18.0.0 <=22.12.0" }, "pre-commit": [ "db:validate" @@ -34,18 +34,23 @@ "@octokit/plugin-paginate-rest": "^6.0.0", "@octokit/plugin-rest-endpoint-methods": "^7.1.3", "@types/jest": "^29.5.5", - "@typescript-eslint/eslint-plugin": "^6.7.4", + "@typescript-eslint/eslint-plugin": "^8.17.0", "chalk": "^4.1.2", "commander": "^9.0.0", "csvtojson": "^2.0.10", - "eslint": "^8.50.0", + "eslint": "^9.16.0", "eslint-config-prettier": "^9.0.0", + "fs-extra": "^11.2.0", "jest": "^29.7.0", - "joi": "^17.6.0", + "joi": "^17.13.3", "ts-jest": "^29.1.1", "tsx": "^4.10.5" }, "devDependencies": { - "pre-commit": "^1.2.2" + "@eslint/eslintrc": "^3.2.0", + "@eslint/js": "^9.16.0", + "@types/joi": "^17.2.3", + "globals": "^15.13.0", + "pre-commit": "^1.0.10" } }