chore(ci): bump ci-base image node 22 → 24-alpine (#639)
This commit was merged in pull request #639.
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
# &node_image is the pre-baked CI base built by .woodpecker/ci-image.yml:
|
# &node_image is the pre-baked CI base built by .woodpecker/ci-image.yml:
|
||||||
# node:22-alpine + python3/make/g++/postgresql-client + pnpm + a warm pnpm
|
# node:24-alpine + python3/make/g++/postgresql-client + pnpm + a warm pnpm
|
||||||
# store. The install step resolves from the baked store (--prefer-offline)
|
# store. The install step resolves from the baked store (--prefer-offline)
|
||||||
# instead of paying a ~731s cold fetch + native compile every run.
|
# instead of paying a ~731s cold fetch + native compile every run.
|
||||||
variables:
|
variables:
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
# Runs only on main branch push/tag
|
# Runs only on main branch push/tag
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
# Pre-baked CI base (see .woodpecker/ci-image.yml): node:22-alpine +
|
# Pre-baked CI base (see .woodpecker/ci-image.yml): node:24-alpine +
|
||||||
# toolchain + warm pnpm store. Kills the second cold install publish pays.
|
# toolchain + warm pnpm store. Kills the second cold install publish pays.
|
||||||
- &node_image 'git.mosaicstack.dev/mosaicstack/stack/ci-base:latest'
|
- &node_image 'git.mosaicstack.dev/mosaicstack/stack/ci-base:latest'
|
||||||
- &enable_pnpm 'corepack enable'
|
- &enable_pnpm 'corepack enable'
|
||||||
|
|||||||
@@ -14,10 +14,12 @@
|
|||||||
# Rebuilt only when `pnpm-lock.yaml` or this Dockerfile change
|
# Rebuilt only when `pnpm-lock.yaml` or this Dockerfile change
|
||||||
# (see .woodpecker/ci-image.yml).
|
# (see .woodpecker/ci-image.yml).
|
||||||
#
|
#
|
||||||
# Node version is intentionally pinned to 22 (Active LTS at time of writing).
|
# Node version is pinned to 24 (Active LTS). This is the follow-up bump from
|
||||||
# The node:22 -> node:24 bump lands as a SEPARATE follow-up PR so the cache
|
# node:22 — sequenced AFTER the CI cache work landed so the runtime change
|
||||||
# change carries zero runtime-version variables.
|
# carries zero cache variables. node:26 stays held until it reaches LTS
|
||||||
FROM node:22-alpine
|
# (Oct 2026); the Current line risks native-module (node-gyp) breakage on a
|
||||||
|
# runner that compiles better-sqlite3 / canvas / sharp / node-pty from source.
|
||||||
|
FROM node:24-alpine
|
||||||
|
|
||||||
# Native toolchain required to compile node-gyp deps on musl, plus the
|
# Native toolchain required to compile node-gyp deps on musl, plus the
|
||||||
# postgresql-client used by the test step's pg_isready readiness probe. `bash`
|
# postgresql-client used by the test step's pg_isready readiness probe. `bash`
|
||||||
|
|||||||
Reference in New Issue
Block a user