Skip to content

Commit 3d3fb9b

Browse files
committed
chore: bump node version
1 parent 5132fa9 commit 3d3fb9b

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

.github/workflows/api-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Setup Node.js
2323
uses: actions/setup-node@v4
2424
with:
25-
node-version: '20'
25+
node-version: '20.x'
2626
cache: 'npm'
2727

2828
- name: Install dependencies

.github/workflows/deploy_master.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: node.js 18
2323
uses: actions/setup-node@v4.0.1
2424
with:
25-
node-version: 18.x
25+
node-version: '20.x'
2626
registry-url: https://registry.npmjs.org/
2727
cache: "npm"
2828

.github/workflows/pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: node.js 18
2323
uses: actions/setup-node@v4.0.1
2424
with:
25-
node-version: 18.x
25+
node-version: '20.x'
2626
registry-url: https://registry.npmjs.org/
2727
cache: "npm"
2828

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
20.20

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:18.8-alpine as compiler
1+
FROM node:20-alpine as compiler
22

33
RUN apk add --no-cache openssh-client \
44
&& mkdir ~/.ssh && ssh-keyscan github.com > ~/.ssh/known_hosts
@@ -44,7 +44,7 @@ RUN NODE_OPTIONS="--max-old-space-size=4096" npm run build:server
4444
RUN NODE_OPTIONS="--max-old-space-size=4096" npm run build:front -- --prefix-paths
4545
RUN npm prune --production
4646

47-
FROM node:18.8-alpine
47+
FROM node:20-alpine
4848
WORKDIR /app
4949

5050
RUN rm -rf \

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
"version": "0.0.0-development",
66
"author": "",
77
"engines": {
8-
"node": "18.*",
9-
"npm": "8.* || 9.*"
8+
"node": ">=20.20.0"
109
},
1110
"dependencies": {
1211
"@dcl/hooks": "^1.0.0",

0 commit comments

Comments
 (0)