From bf6e9843ef09b35212847fbafd278cfae515be37 Mon Sep 17 00:00:00 2001 From: Bruno Alla Date: Sun, 8 Dec 2024 11:34:06 +0000 Subject: [PATCH] Pin node 22 version to 22.11 --- .github/workflows/ci.yml | 2 +- {{cookiecutter.project_slug}}/compose/local/node/Dockerfile | 2 +- {{cookiecutter.project_slug}}/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0c269fa1d7..b7375205eb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -109,6 +109,6 @@ jobs: run: uv sync - uses: actions/setup-node@v4 with: - node-version: "22" + node-version: "22.11" - name: Bare Metal ${{ matrix.script.name }} run: sh tests/test_bare.sh ${{ matrix.script.args }} diff --git a/{{cookiecutter.project_slug}}/compose/local/node/Dockerfile b/{{cookiecutter.project_slug}}/compose/local/node/Dockerfile index b0142ff81f..b749e5516b 100644 --- a/{{cookiecutter.project_slug}}/compose/local/node/Dockerfile +++ b/{{cookiecutter.project_slug}}/compose/local/node/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.io/node:22-bookworm-slim +FROM docker.io/node:22.11-bookworm-slim WORKDIR /app diff --git a/{{cookiecutter.project_slug}}/package.json b/{{cookiecutter.project_slug}}/package.json index d0410f554a..fe94edd218 100644 --- a/{{cookiecutter.project_slug}}/package.json +++ b/{{cookiecutter.project_slug}}/package.json @@ -35,7 +35,7 @@ "webpack-merge": "^6.0.1" }, "engines": { - "node": "22" + "node": "22.11" }, "browserslist": [ "last 2 versions"