diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c242d5388..4d57ef13c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -7,7 +7,7 @@ jobs: runs-on: self-hosted strategy: matrix: - node-version: [16.x, 18.x] + node-version: [18.x, 20.x] steps: - name: Checkout sources uses: actions/checkout@v4 @@ -26,7 +26,7 @@ jobs: runs-on: self-hosted strategy: matrix: - node-version: [16.x, 18.x] + node-version: [18.x, 20.x] steps: - name: Linting run: npm run lint @@ -39,7 +39,7 @@ jobs: runs-on: self-hosted strategy: matrix: - node-version: [16.x, 18.x] + node-version: [18.x, 20.x] steps: - name: Running unit tests run: npm run test:unit @@ -53,7 +53,7 @@ jobs: strategy: max-parallel: 1 matrix: - node-version: [16.x, 18.x] + node-version: [18.x, 20.x] steps: - name: Creating `.env` file run: | diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e7daae08d..f712277f1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,7 +8,7 @@ jobs: steps: - name: Checkout sources uses: actions/checkout@v4 - - name: Use Node.js 16.x.x + - name: Use Node.js 18.x.x uses: actions/setup-node@v3 with: node-version: 18 diff --git a/README.md b/README.md index 38eb28f76..8415f8f53 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ Usability, consistency, and performance are key focuses of jira.js, and it also ## Installation -**Node.js 10.0.0 or newer is required.** +**Node.js 18.0.0 or newer is required.** Install with the npm: diff --git a/package-lock.json b/package-lock.json index 9e1fcfe8f..80bbb703c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,7 @@ "@swc-node/register": "^1.6.8", "@swc/helpers": "^0.5.3", "@types/express": "^4.17.18", - "@types/node": "^20.8.3", + "@types/node": "^18.18.4", "@types/oauth": "^0.9.2", "@types/sinon": "^10.0.19", "@typescript-eslint/eslint-plugin": "^6.7.4", @@ -663,9 +663,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "20.8.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.3.tgz", - "integrity": "sha512-jxiZQFpb+NlH5kjW49vXxvxTjeeqlbsnTAdBTKpzEdPs9itay7MscYXz3Fo9VYFEsfQ6LJFitHad3faerLAjCw==", + "version": "18.18.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.18.4.tgz", + "integrity": "sha512-t3rNFBgJRugIhackit2mVcLfF6IRc0JE4oeizPQL8Zrm8n2WY/0wOdpOPhdtG0V9Q2TlW/axbF1MJ6z+Yj/kKQ==", "dev": true }, "node_modules/@types/oauth": { diff --git a/package.json b/package.json index ea128585c..a3f762728 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "@swc-node/register": "^1.6.8", "@swc/helpers": "^0.5.3", "@types/express": "^4.17.18", - "@types/node": "^20.8.3", + "@types/node": "^18.18.4", "@types/oauth": "^0.9.2", "@types/sinon": "^10.0.19", "@typescript-eslint/eslint-plugin": "^6.7.4",