fix: install Node.js 20 in CI container (required by JS-based actions)
CI / Build Native (push) Successful in 6m37s
CI / Build Native (push) Successful in 6m37s
This commit is contained in:
@@ -21,15 +21,18 @@ jobs:
|
|||||||
image: maven:3.9.6-eclipse-temurin-21
|
image: maven:3.9.6-eclipse-temurin-21
|
||||||
options: --memory=10g
|
options: --memory=10g
|
||||||
steps:
|
steps:
|
||||||
- name: Install git, gcc, docker, buildx, and basic tools
|
- name: Install git, gcc, docker, buildx, node, and basic tools
|
||||||
run: |
|
run: |
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y git curl ca-certificates build-essential zlib1g-dev docker.io docker-buildx
|
apt-get install -y git curl ca-certificates build-essential zlib1g-dev docker.io docker-buildx
|
||||||
|
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
|
||||||
|
apt-get install -y nodejs
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
git --version
|
git --version
|
||||||
gcc --version
|
gcc --version
|
||||||
docker --version
|
docker --version
|
||||||
docker buildx version
|
docker buildx version
|
||||||
|
node --version
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user