chore: update nodejs to 20.19.4 (@fehmer) (#6805)

This commit is contained in:
Christian Fehmer 2025-07-30 10:06:04 +02:00 committed by GitHub
parent 926b369402
commit aa94a8afed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 15 additions and 15 deletions

View file

@ -2,7 +2,7 @@ name: Monkey CI
env:
PNPM_VERSION: "9.6.0"
NODE_VERSION: "20.16.0"
NODE_VERSION: "20.19.4"
RECAPTCHA_SITE_KEY: "6Lc-V8McAAAAAJ7s6LGNe7MBZnRiwbsbiWts87aj"
permissions:

View file

@ -2,7 +2,7 @@ name: Prettier Check
env:
PNPM_VERSION: "9.6.0"
NODE_VERSION: "20.16.0"
NODE_VERSION: "20.19.4"
on:
pull_request:

View file

@ -2,7 +2,7 @@ name: Prettier Fix
env:
PNPM_VERSION: "9.6.0"
NODE_VERSION: "20.16.0"
NODE_VERSION: "20.19.4"
permissions:
contents: write

2
.nvmrc
View file

@ -1 +1 @@
20.16.0
20.19.4

View file

@ -23,7 +23,7 @@ services:
container_name: monkeytype-api-server
build:
dockerfile_inline: |
FROM node:20.16.0
FROM node:20.19.4
RUN npm i -g pnpm@9.6.0
RUN mkdir /pnpm-store && chown -R 1000:1000 /pnpm-store
user: "node" ##this works as long as your local user has uid=1000

View file

@ -21,7 +21,7 @@
"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"
},
"engines": {
"node": "20.16.0"
"node": "20.19.4"
},
"dependencies": {
"@date-fns/utc": "1.2.0",

View file

@ -1,4 +1,4 @@
FROM node:20.16.0-alpine3.19 AS builder
FROM node:20.19.4-alpine3.19 AS builder
WORKDIR /app
@ -18,7 +18,7 @@ RUN pnpm deploy --filter backend --prod /prod/backend
#---------------------------------
## target image
FROM node:20.16.0-alpine3.19
FROM node:20.19.4-alpine3.19
## get server_version from build-arg, default to UNKNOWN
ARG server_version=UNKNOWN

View file

@ -1,4 +1,4 @@
FROM node:20.16.0-alpine3.19 AS builder
FROM node:20.19.4-alpine3.19 AS builder
WORKDIR /app
#ENV

View file

@ -21,7 +21,7 @@
## Prerequisites
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.16.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.
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.
### Git
@ -33,9 +33,9 @@ Git is optional but we recommend you utilize it. Monkeytype uses the Git source
### NodeJS and PNPM
Currently, the project is using version `20.16.0 LTS`.
Currently, the project is using version `20.19.4 LTS`.
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.16.0` then `nvm use 20.16.0`) to use the version of Node.js in the `.nvmrc` file.
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.
Alternatively, you can navigate to the NodeJS [website](https://nodejs.org/en/) to download it from there.

View file

@ -4,7 +4,7 @@ services:
container_name: monkeytype-frontend
build:
dockerfile_inline: |
FROM node:20.16.0
FROM node:20.19.4
RUN npm i -g pnpm@9.6.0
RUN mkdir /pnpm-store && chown -R 1000:1000 /pnpm-store
user: "node" ##this works as long as your local user has uid=1000

View file

@ -25,7 +25,7 @@
"docker": "docker compose -f docker/compose.dev.yml up"
},
"engines": {
"node": "20.16.0"
"node": "20.19.4"
},
"browserslist": [
"defaults",

View file

@ -59,7 +59,7 @@
"pr-check-other-json": "cd frontend && npx gulp pr-check-other-json && turbo test -- constants/layouts constants/themes constants/fonts"
},
"engines": {
"node": "20.16.0"
"node": "20.19.4"
},
"devDependencies": {
"@commitlint/cli": "17.7.1",