diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 4d7ce99e3c0..b2a1a5e2011 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,4 +1,4 @@ -ARG VARIANT=18 +ARG VARIANT=22 FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:dev-${VARIANT} COPY .tmux.conf /home/node/.tmux.conf diff --git a/adminSiteServer/app.test.ts b/adminSiteServer/app.test.ts index e35184c905c..7f3a6d8d031 100644 --- a/adminSiteServer/app.test.ts +++ b/adminSiteServer/app.test.ts @@ -213,7 +213,7 @@ describe("OwidAdminApp", () => { ) expect(nodeVersion.status).toBe(200) const text = await nodeVersion.text() - expect(text).toBe("v18.16.0") + expect(text).toBe("v22.12.0") }) it("should be able to edit a chart via the api", async () => { diff --git a/docker-compose.devcontainer.yml b/docker-compose.devcontainer.yml index eb072173cb7..72ea1d7dff0 100644 --- a/docker-compose.devcontainer.yml +++ b/docker-compose.devcontainer.yml @@ -20,7 +20,7 @@ services: dockerfile: Dockerfile args: # [Choice] Node.js version: 16, 14, 12 - VARIANT: 18 + VARIANT: 22 # On Linux, you may need to update USER_UID and USER_GID below if not your local UID is not 1000. #USER_UID: 1000 #USER_GID: 1000 diff --git a/package.json b/package.json index 56208e9e7e3..c9b2077f9c5 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "private": true, "version": "3.0.0", "engines": { - "node": ">=18.16" + "node": ">=22.0" }, "packageManager": "yarn@4.1.1", "scripts": {