Skip to content

Commit

Permalink
fix: switch back to node 18
Browse files Browse the repository at this point in the history
Signed-off-by: Sujith <[email protected]>
  • Loading branch information
sujithvn committed Jan 20, 2023
1 parent e81f557 commit a78ac3b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.10.0
18.10.0
4 changes: 2 additions & 2 deletions apps/reaction/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion apps/reaction/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a78ac3b

Please sign in to comment.