ci: let's use nvm to install nodejs 18 instead of 10
Some checks failed
Build, Package and Push Images / preprocess (push) Successful in 3s
Build, Package and Push Images / docs (push) Failing after 9s
Build, Package and Push Images / build (push) Successful in 25s
Build, Package and Push Images / sbom-scan (push) Successful in 37s
Build, Package and Push Images / container-build (push) Successful in 1m20s
Build, Package and Push Images / sonarqube (push) Successful in 1m23s
Build, Package and Push Images / container-sbom-scan (push) Successful in 34s

This commit is contained in:
Timothy Schenk 2023-11-15 15:31:49 +01:00
parent c85f9f32cb
commit 9ab71891cf

View file

@ -28,7 +28,10 @@ jobs:
steps:
- name: Install basic dependencies
run: |
apt-get update && apt-get install -y nodejs npm zip unzip wget curl ssh jq apt-transport-https
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
nvm install 18
- name: Checkout repository
uses: https://github.com/actions/checkout@v3
- name: Build docs