reduce node version to 24 (what's used in playwright)

This commit is contained in:
Henry Jameson 2026-09-04 01:41:32 +03:00
commit 70e8a58952
5 changed files with 5 additions and 5 deletions

View file

@ -14,7 +14,7 @@ labels:
steps: steps:
build: build:
image: docker.io/node:26-alpine image: docker.io/node:24-alpine
commands: commands:
- npm install --global yarn - npm install --global yarn
- apk add --no-cache zip git - apk add --no-cache zip git

View file

@ -11,7 +11,7 @@ labels:
steps: steps:
build: build:
image: docker.io/node:26-alpine image: docker.io/node:24-alpine
commands: commands:
- npm install --global yarn - npm install --global yarn
- yarn --frozen-lockfile - yarn --frozen-lockfile

View file

@ -9,7 +9,7 @@ when:
steps: steps:
install-depends: install-depends:
image: &node-image image: &node-image
docker.io/node:26-alpine docker.io/node:24-alpine
commands: commands:
- npm install --global yarn - npm install --global yarn
- yarn --frozen-lockfile - yarn --frozen-lockfile

View file

@ -36,12 +36,12 @@ steps:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: "1" PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: "1"
entrypoint: *script_file_entrypoint entrypoint: *script_file_entrypoint
commands: commands:
- npm install --global yarn
- | - |
if [ "${CI_PIPELINE_EVENT}" != "pull_request" ]; then if [ "${CI_PIPELINE_EVENT}" != "pull_request" ]; then
mkdir -pv $APT_CACHE_DIR && apt-get -qq update mkdir -pv $APT_CACHE_DIR && apt-get -qq update
apt-get -y install zip apt-get -y install zip
fi fi
- npm install --global yarn
- yarn --frozen-lockfile - yarn --frozen-lockfile
- | - |
if ! yarn unit-ci; then if ! yarn unit-ci; then

View file

@ -92,7 +92,7 @@
}, },
"type": "module", "type": "module",
"engines": { "engines": {
"node": ">= 26.0.0" "node": ">= 24.0.0"
}, },
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
} }