diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bfdcb8052..bd24f2f48 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: build: strategy: matrix: - node-version: [14, 16, 17] + node-version: [18, 20] system: - os: ubuntu-20.04 include: diff --git a/.github/workflows/publish-native-binaries.yml b/.github/workflows/publish-native-binaries.yml index 3638b7903..f0e2e2342 100644 --- a/.github/workflows/publish-native-binaries.yml +++ b/.github/workflows/publish-native-binaries.yml @@ -15,7 +15,7 @@ jobs: # (https://github.com/bchr02/node-pre-gyp-github/issues/42) fail-fast: false matrix: - node_version: [14, 16, 17] + node_version: [18, 20] system: - os: macos-latest target: x86_64-apple-darwin diff --git a/Dockerfile.indexer-agent b/Dockerfile.indexer-agent index 0c2abc849..755f3e7d1 100644 --- a/Dockerfile.indexer-agent +++ b/Dockerfile.indexer-agent @@ -1,7 +1,7 @@ ######################################################################## # Build image -FROM node:16.15-bullseye-slim as build +FROM node:18.16.0-bullseye-slim as build ENV NODE_ENV production @@ -29,7 +29,7 @@ RUN yarn --frozen-lockfile --non-interactive --production=false ######################################################################## # Runtime image -FROM node:16.15-bullseye-slim +FROM node:18.16.0-bullseye-slim ENV NODE_ENV production # When simulating large transactions, sometimes indexer-agent runs out of memory. diff --git a/Dockerfile.indexer-cli b/Dockerfile.indexer-cli index c24ab8cf2..85627cb41 100644 --- a/Dockerfile.indexer-cli +++ b/Dockerfile.indexer-cli @@ -1,7 +1,7 @@ ######################################################################## # Build image -FROM node:16.15-bullseye-slim as build +FROM node:18.16.0-bullseye-slim as build ENV NODE_ENV production @@ -30,7 +30,7 @@ RUN yarn --frozen-lockfile --non-interactive --production=false ######################################################################## # Runtime image -FROM node:16.15-bullseye-slim +FROM node:18.16.0-bullseye-slim ENV NODE_ENV production diff --git a/Dockerfile.indexer-service b/Dockerfile.indexer-service index 9722a5690..f5eb2c881 100644 --- a/Dockerfile.indexer-service +++ b/Dockerfile.indexer-service @@ -1,7 +1,7 @@ ######################################################################## # Build image -FROM node:16.15-bullseye-slim as build +FROM node:18.16.0-bullseye-slim as build ENV NODE_ENV production @@ -30,7 +30,7 @@ RUN yarn --frozen-lockfile --non-interactive --production=false ######################################################################## # Runtime image -FROM node:16.15-bullseye-slim +FROM node:18.16.0-bullseye-slim ENV NODE_ENV production diff --git a/package.json b/package.json index 223e00446..d83ec06d4 100644 --- a/package.json +++ b/package.json @@ -42,6 +42,6 @@ "graphql": "16.3.0" }, "engines": { - "node": ">=12.22.0" + "node": ">=18" } }