From d27858aa5d42472a459b2e2e519f3c0f708e4809 Mon Sep 17 00:00:00 2001 From: Kyle Gabriel Date: Wed, 27 Mar 2024 14:15:30 -0400 Subject: [PATCH] fix build --- .github/workflows/main.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bb1d863a6..c947d3714 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -54,7 +54,13 @@ jobs: sleep 10 wget --no-check-certificate -p https://127.0.0.1 -O /dev/null printf "\n# Installing npm\n" - sudo apt update && sudo apt install npm + sudo apt install npm + sudo mkdir -p /etc/apt/keyrings + curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg + NODE_MAJOR=20 + echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list + sudo apt update + sudo apt install nodejs printf "\n# Installing redoc-cli\n" sudo npm install -g redoc-cli printf "\n# Generating manual\n"