From 611918ce7a64a8df962bc1080fc15447efef8adb Mon Sep 17 00:00:00 2001 From: Evgeny Demchenko Date: Mon, 18 May 2026 21:56:33 +0100 Subject: [PATCH] =?UTF-8?q?ci:=20install=20Node=2020=20from=20NodeSource?= =?UTF-8?q?=20(apt=20nodejs=20=3D=20Node=2012=20=E2=80=94=20=D1=81=D0=BB?= =?UTF-8?q?=D0=B8=D1=88=D0=BA=D0=BE=D0=BC=20=D1=81=D1=82=D0=B0=D1=80=D1=8B?= =?UTF-8?q?=D0=B9=20=D0=B4=D0=BB=D1=8F=20actions/checkout@v4)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.7 --- .gitea/workflows/build.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 0ae2358..4bd35a4 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -21,12 +21,16 @@ jobs: container: image: nvidia/cuda:12.4.1-cudnn-devel-ubuntu22.04 steps: - # actions/checkout requires node + git в container — preinstall their PATH - - name: Bootstrap node + git (для actions/checkout) + # actions/checkout@v4 требует Node 20+. Ubuntu 22.04 apt даёт Node 12 — не подходит. + # Ставим Node 20 из NodeSource repo. + - name: Bootstrap Node 20 + git (для actions/checkout) run: | export DEBIAN_FRONTEND=noninteractive apt-get update - apt-get install -y --no-install-recommends nodejs git ca-certificates + apt-get install -y --no-install-recommends curl git ca-certificates gnupg + curl -fsSL https://deb.nodesource.com/setup_20.x | bash - + apt-get install -y --no-install-recommends nodejs + node --version - name: Install build deps run: |