diff --git a/.circleci/config.yml b/.circleci/config.yml index 4fb343a1271..69ce58b35c2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -10,7 +10,7 @@ defaults: &defaults DOCKER_NAMESPACE: "reactioncommerce" DOCKER_NAME: "reaction" docker: - - image: cimg/node:16.10.0 + - image: cimg/node:18.10.0 install_pnpm: &install_pnpm - run: @@ -97,7 +97,7 @@ jobs: test-integration-query: <<: *defaults docker: - - image: cimg/node:16.10.0 + - image: cimg/node:18.10.0 # Integration tests need MongoDB server running and accessible on port 27017 - image: mongo:4.0 command: mongod --oplogSize 128 --replSet rs0 --storageEngine=wiredTiger @@ -124,7 +124,7 @@ jobs: test-integration-mutation: <<: *defaults docker: - - image: cimg/node:16.10.0 + - image: cimg/node:18.10.0 # Integration tests need MongoDB server running and accessible on port 27017 - image: mongo:4.0 command: mongod --oplogSize 128 --replSet rs0 --storageEngine=wiredTiger diff --git a/.nvmrc b/.nvmrc index 3027af39c1b..5036cb7c078 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -16.10.0 +18.10.0 diff --git a/apps/reaction/Dockerfile b/apps/reaction/Dockerfile index 05472caa01b..5725cbf6802 100644 --- a/apps/reaction/Dockerfile +++ b/apps/reaction/Dockerfile @@ -1,7 +1,7 @@ # Dockerfile for production builds # syntax=docker/dockerfile:1.4 -FROM node:16.10.0-alpine as deps +FROM node:18.10.0-alpine as deps # hadolint ignore=DL3018 RUN apk --no-cache add bash less curl make g++ glib @@ -17,7 +17,7 @@ RUN pnpm --filter=reaction --prod deploy deps --ignore-scripts # hadolint ignore=DL3003,SC2015 RUN cd deps/node_modules/sharp && npm run install -FROM node:16.10.0-alpine +FROM node:18.10.0-alpine # hadolint ignore=DL3018 RUN apk --no-cache add bash less tini vim curl diff --git a/apps/reaction/package.json b/apps/reaction/package.json index 7e4509280d8..0466cfd3211 100644 --- a/apps/reaction/package.json +++ b/apps/reaction/package.json @@ -5,7 +5,7 @@ "main": "./src/index.js", "type": "module", "engines": { - "node": ">=16.10.0" + "node": ">=18.10.0" }, "homepage": "https://github.com/reactioncommerce/reaction", "url": "https://github.com/reactioncommerce/reaction", diff --git a/package.json b/package.json index c18192f18e7..49c896d9188 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "description": "Reaction is a modern reactive, real-time event driven ecommerce platform.", "main": "index.js", "engines": { - "node": ">=16.10.0", + "node": ">=18.10.0", "npm": ">=7" }, "engineStrict": true,