From 05014151ddcaf22b30303c20902edac346b19b35 Mon Sep 17 00:00:00 2001 From: Simran Date: Wed, 4 Dec 2024 12:08:46 +0100 Subject: [PATCH] CI: Try to overwrite preinstalled Node.js with version 16 GitHub Actions seems to have dropped all support for the legacy Node.js version but version 20 is incompatible with the CentOS 7 base image (glibc) --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7c7ec2545..eaf83271a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -56,6 +56,14 @@ jobs: image: olivevideoeditor/ci-olive:2022.3 steps: + - name: Install Node.js 16 + run: | + DOWNLOAD_TOOL https://nodejs.org/dist/v16.20.2/node-v16.20.2-linux-x64.tar.xz + tar -xf node-v16.20.2-linux-x64.tar.xz + PATH="$(pwd)/node-v16.20.2-linux-x64/bin:$PATH" + node --version + echo "PATH=$PATH" >> "$GITHUB_ENV" + - name: Checkout Source Code uses: actions/checkout@v3 with: