Skip to content

Commit cd8ebd1

Browse files
authored
chore: update nodejs to 24.10.0 (@fehmer) (#7035)
1 parent b85f135 commit cd8ebd1

File tree

13 files changed

+16
-15
lines changed

13 files changed

+16
-15
lines changed

.github/workflows/monkey-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Monkey CI
22

33
env:
44
PNPM_VERSION: "9.6.0"
5-
NODE_VERSION: "20.19.4"
5+
NODE_VERSION: "24.10.0"
66
RECAPTCHA_SITE_KEY: "6Lc-V8McAAAAAJ7s6LGNe7MBZnRiwbsbiWts87aj"
77

88
permissions:

.github/workflows/pretty-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Prettier Check
22

33
env:
44
PNPM_VERSION: "9.6.0"
5-
NODE_VERSION: "20.19.4"
5+
NODE_VERSION: "24.10.0"
66

77
on:
88
pull_request:

.github/workflows/pretty-fix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Prettier Fix
22

33
env:
44
PNPM_VERSION: "9.6.0"
5-
NODE_VERSION: "20.19.4"
5+
NODE_VERSION: "24.10.0"
66

77
permissions:
88
contents: write

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ dist/
9090
frontend/public/
9191
backend/globalConfig.json
9292
backend/server.version
93+
backend/src/server.version
9394
vite-build/
9495

9596
#cloudflare y

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20.19.4
1+
24.10.0

backend/docker/compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ services:
2323
container_name: monkeytype-api-server
2424
build:
2525
dockerfile_inline: |
26-
FROM node:20.19.4
26+
FROM node:24.10.0
2727
RUN npm i -g [email protected]
2828
RUN mkdir /pnpm-store && chown -R 1000:1000 /pnpm-store
2929
user: "node" ##this works as long as your local user has uid=1000

backend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"gen-docs": "tsx scripts/openapi.ts dist/static/api/openapi.json && redocly build-docs -o dist/static/api/internal.html internal@v2 && redocly bundle -o dist/static/api/public.json public-filter && redocly build-docs -o dist/static/api/public.html public@v2"
2222
},
2323
"engines": {
24-
"node": "20.19.4"
24+
"node": "24.10.0"
2525
},
2626
"dependencies": {
2727
"@date-fns/utc": "1.2.0",

docker/backend/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:20.19.4-alpine3.19 AS builder
1+
FROM node:24.10.0-alpine3.22 AS builder
22

33
WORKDIR /app
44

@@ -18,7 +18,7 @@ RUN pnpm deploy --filter backend --prod /prod/backend
1818
#---------------------------------
1919

2020
## target image
21-
FROM node:20.19.4-alpine3.19
21+
FROM node:24.10.0-alpine3.22
2222

2323
## get server_version from build-arg, default to UNKNOWN
2424
ARG server_version=UNKNOWN

docker/frontend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:20.19.4-alpine3.19 AS builder
1+
FROM node:24.10.0-alpine3.22 AS builder
22
WORKDIR /app
33

44
#ENV

docs/CONTRIBUTING_ADVANCED.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
## Prerequisites
2323

24-
This contribution guide is for cases in which you need to test the functionality of your changes, or if you need to take screenshots of your changes. You will need a computer with a stable internet connection, a text editor, Git, and NodeJS with version 20.19.4. There are some additional requirements depending on what you're looking to contribute, such as Firebase for authentication, and Mongo and Docker for the backend. Read the below sections to understand how to set up each of these tools.
24+
This contribution guide is for cases in which you need to test the functionality of your changes, or if you need to take screenshots of your changes. You will need a computer with a stable internet connection, a text editor, Git, and NodeJS with version 24.10.0. There are some additional requirements depending on what you're looking to contribute, such as Firebase for authentication, and Mongo and Docker for the backend. Read the below sections to understand how to set up each of these tools.
2525

2626
### Git
2727

@@ -33,9 +33,9 @@ Git is optional but we recommend you utilize it. Monkeytype uses the Git source
3333

3434
### NodeJS and PNPM
3535

36-
Currently, the project is using version `20.19.4 LTS`.
36+
Currently, the project is using version `24.10.0 LTS`.
3737

38-
If you use `nvm` (if you use Windows, use [nvm-windows](https://github.com/coreybutler/nvm-windows)) then you can run `nvm install` and `nvm use` (you might need to specify the exact version eg: `nvm install 20.19.4` then `nvm use 20.19.4`) to use the version of Node.js in the `.nvmrc` file.
38+
If you use `nvm` (if you use Windows, use [nvm-windows](https://github.com/coreybutler/nvm-windows)) then you can run `nvm install` and `nvm use` (you might need to specify the exact version eg: `nvm install 24.10.0` then `nvm use 24.10.0`) to use the version of Node.js in the `.nvmrc` file.
3939

4040
Alternatively, you can navigate to the NodeJS [website](https://nodejs.org/en/) to download it from there.
4141

0 commit comments

Comments
 (0)