Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update node to v18 #669

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
build:
strategy:
matrix:
node-version: [14, 16, 17]
node-version: [18, 20]
system:
- os: ubuntu-20.04
include:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-native-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.indexer-agent
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.indexer-cli
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.indexer-service
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
"graphql": "16.3.0"
},
"engines": {
"node": ">=12.22.0"
"node": ">=18"
}
}
Loading