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)
This commit is contained in:
Simran
2024-12-04 12:08:46 +01:00
committed by GitHub
parent 4de06b2fce
commit 05014151dd
+8
View File
@@ -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: