Skip to content

Commit 6cc350b

Browse files
authored
Node 20 Bump (#246)
* Initial Node 20 bump * Extra references * Revert Node bump in package.json
1 parent 7cda2c4 commit 6cc350b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/main.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Setup Node
3131
uses: actions/setup-node@v4
3232
with:
33-
node-version: '18.x'
33+
node-version: '20.x'
3434
cache: 'pnpm'
3535
- name: Install Dependencies
3636
run: pnpm install --frozen-lockfile
@@ -55,7 +55,7 @@ jobs:
5555
- name: Setup Node
5656
uses: actions/setup-node@v4
5757
with:
58-
node-version: '18.x'
58+
node-version: '20.x'
5959
cache: 'pnpm'
6060
- name: Install dependencies
6161
run: pnpm install --frozen-lockfile

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
# We use the alpine image because of its small size. The alternative considered was the "slim" image, but it is larger
1818
# and we already use alpine (without issues) in other projects, so the size reduction seems worth it.
19-
FROM node:18-slim AS build
19+
FROM node:20-slim AS build
2020
WORKDIR /app
2121
RUN npm install -g pnpm
2222
# Copy just the "pnpm-lock.yaml" file and use "pnpm fetch" to download all dependencies just from the lockfile. This
@@ -39,7 +39,7 @@ LABEL application="airnode-feed" description="Airnode feed container"
3939
FROM build AS deployed-airnode-feed
4040

4141
RUN pnpm --filter=@api3/airnode-feed --prod deploy deployed-airnode-feed
42-
FROM node:18-slim as airnode-feed
42+
FROM node:20-slim as airnode-feed
4343
WORKDIR /app
4444
ENV NODE_ENV=production
4545

@@ -63,7 +63,7 @@ LABEL application="signed-api" description="Signed API container"
6363
FROM build AS deployed-signed-api
6464

6565
RUN pnpm --filter=@api3/signed-api --prod deploy deployed-signed-api
66-
FROM node:18-slim as signed-api
66+
FROM node:20-slim as signed-api
6767
WORKDIR /app
6868
ENV NODE_ENV=production
6969

0 commit comments

Comments
 (0)