diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b7375205eb..2d95372cba 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.11" + node-version: "22.12" - 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 b749e5516b..87e22c4f60 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.11-bookworm-slim +FROM docker.io/node:22.12-bookworm-slim WORKDIR /app diff --git a/{{cookiecutter.project_slug}}/gulpfile.mjs b/{{cookiecutter.project_slug}}/gulpfile.mjs index 8fee32dc7f..70d4e5e2f2 100644 --- a/{{cookiecutter.project_slug}}/gulpfile.mjs +++ b/{{cookiecutter.project_slug}}/gulpfile.mjs @@ -12,7 +12,6 @@ import browserSyncLib from 'browser-sync'; import concat from 'gulp-concat'; import tildeImporter from 'node-sass-tilde-importer'; import cssnano from 'cssnano'; -import imagemin from 'gulp-imagemin'; import pixrem from 'pixrem'; import plumber from 'gulp-plumber'; import postcss from 'gulp-postcss'; @@ -100,7 +99,8 @@ function vendorScripts() { } // Image compression -function imgCompression() { +async function imgCompression() { + const imagemin = (await import("gulp-imagemin")).default; return src(`${paths.images}/*`) .pipe(imagemin()) // Compresses PNG, JPEG, GIF and SVG images .pipe(dest(paths.images)); diff --git a/{{cookiecutter.project_slug}}/package.json b/{{cookiecutter.project_slug}}/package.json index fe94edd218..49391d71a3 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.11" + "node": "22.12" }, "browserslist": [ "last 2 versions"