ci: install Node 20 from NodeSource (apt nodejs = Node 12 — слишком старый для actions/checkout@v4)
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user