From baed09fcd8e8a094cb935b7889a7236a592d4082 Mon Sep 17 00:00:00 2001 From: Jolan Rensen Date: Thu, 26 Sep 2024 12:13:55 +0200 Subject: [PATCH] explicitly installing nodejs --- .github/workflows/main.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 19b12350de..32eee8e2ff 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,7 +2,7 @@ name: Build docs on: # Specify to run a workflow manually from the Actions tab on GitHub. - workflow_dispatch: + workflow_dispatch: "" # Gives the workflow permissions to clone the repo and create a page deployment permissions: @@ -31,7 +31,9 @@ jobs: - name: Prepare for build run: | apt-get update - apt-get install -y zip + apt-get install -y zip curl + curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - + apt-get install -y nodejs mkdir -p artifacts - name: Build docs # and include sitemap.xml TODO: uncomment when sitemap.xml is available run: |