diff --git a/.drone.yml b/.drone.yml index 1e1ee8c6..00fabc20 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,7 +14,7 @@ trigger: steps: - name: install - image: node:18 + image: node:20 pull: always commands: - node -v @@ -22,28 +22,28 @@ steps: - npm ci - name: build - image: node:18 + image: node:20 commands: - npm run build depends_on: - install - name: format - image: node:18.19 + image: node:20 commands: - npm run check-format depends_on: - build - name: lint - image: node:18.19 + image: node:20 commands: - npm run lint depends_on: - build - name: set-version-nightly - image: node:18 + image: node:20 commands: - eval npm pkg set version="$(npm pkg get version)-nightly-$DRONE_COMMIT" @@ -98,7 +98,7 @@ trigger: steps: - name: install - image: node:18 + image: node:20 pull: always commands: - node -v @@ -106,21 +106,21 @@ steps: - npm ci - name: build - image: node:18 + image: node:20 commands: - npm run build depends_on: - install - name: format - image: node:18.19 + image: node:20 commands: - npm run check-format depends_on: - build - name: lint - image: node:18.19 + image: node:20 commands: - npm run lint depends_on: diff --git a/.github/workflows/pr-test.yml b/.github/workflows/pr-test.yml index a8606e58..34e7a1cb 100644 --- a/.github/workflows/pr-test.yml +++ b/.github/workflows/pr-test.yml @@ -31,7 +31,7 @@ jobs: test: uses: ./.github/workflows/reusable-test.yml with: - node-version: '18' + node-version: '20' upload-coverage: true secrets: infura-project-id: ${{ secrets.INFURA_PROJECT_ID }} @@ -44,7 +44,7 @@ jobs: if: ${{ startsWith('release-please--', github.ref_name ) }} strategy: matrix: - node-version: ['20', '22', '24'] + node-version: ['22', '24'] with: node-version: secrets: diff --git a/package.json b/package.json index 2acaa47c..c6bfbda1 100644 --- a/package.json +++ b/package.json @@ -143,7 +143,7 @@ } }, "engine": { - "node": ">=18.0.0", + "node": ">=20.0.0", "npm": ">=8" }, "scripts": {