mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-07-11 00:22:29 +03:00
Bump node from 22.13 to 22.14 (#5688)
This commit is contained in:
parent
d8f3ad04f4
commit
08d1a3ba61
12
.github/workflows/align-versions.yml
vendored
12
.github/workflows/align-versions.yml
vendored
|
@ -21,9 +21,13 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
script:
|
job:
|
||||||
- scripts/ruff_version.py
|
- script: scripts/ruff_version.py
|
||||||
- scripts/node_version.py
|
name: Ruff
|
||||||
|
- script: scripts/node_version.py
|
||||||
|
name: Node
|
||||||
|
|
||||||
|
name: "${{ matrix.job.name }} versions"
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout with token
|
- name: Checkout with token
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -40,7 +44,7 @@ jobs:
|
||||||
|
|
||||||
- uses: astral-sh/setup-uv@v5
|
- uses: astral-sh/setup-uv@v5
|
||||||
|
|
||||||
- run: uv run ${{ matrix.script }}
|
- run: uv run ${{ matrix.job.script }}
|
||||||
|
|
||||||
- uses: stefanzweifel/git-auto-commit-action@v5
|
- uses: stefanzweifel/git-auto-commit-action@v5
|
||||||
with:
|
with:
|
||||||
|
|
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -103,6 +103,6 @@ jobs:
|
||||||
run: uv sync
|
run: uv sync
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: "22.13"
|
node-version: "22.14"
|
||||||
- name: Bare Metal ${{ matrix.script.name }}
|
- name: Bare Metal ${{ matrix.script.name }}
|
||||||
run: sh tests/test_bare.sh ${{ matrix.script.args }}
|
run: sh tests/test_bare.sh ${{ matrix.script.args }}
|
||||||
|
|
|
@ -18,6 +18,7 @@ def main() -> None:
|
||||||
if old_version != new_version:
|
if old_version != new_version:
|
||||||
update_package_json_version(old_version, new_version)
|
update_package_json_version(old_version, new_version)
|
||||||
update_ci_node_version(old_version, new_version)
|
update_ci_node_version(old_version, new_version)
|
||||||
|
update_production_node_version(old_version, new_version)
|
||||||
|
|
||||||
|
|
||||||
def get_version_from_dockerfile() -> str | None:
|
def get_version_from_dockerfile() -> str | None:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM docker.io/node:22.13-bookworm-slim
|
FROM docker.io/node:22.14-bookworm-slim
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{% if cookiecutter.frontend_pipeline in ['Gulp', 'Webpack'] -%}
|
{% if cookiecutter.frontend_pipeline in ['Gulp', 'Webpack'] -%}
|
||||||
FROM docker.io/node:22.13-bookworm-slim AS client-builder
|
FROM docker.io/node:22.14-bookworm-slim AS client-builder
|
||||||
|
|
||||||
ARG APP_HOME=/app
|
ARG APP_HOME=/app
|
||||||
WORKDIR ${APP_HOME}
|
WORKDIR ${APP_HOME}
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
"webpack-merge": "^6.0.1"
|
"webpack-merge": "^6.0.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "22.13"
|
"node": "22.14"
|
||||||
},
|
},
|
||||||
"browserslist": [
|
"browserslist": [
|
||||||
"last 2 versions"
|
"last 2 versions"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user