This commit is contained in:
philipp 2024-02-28 10:02:00 +01:00
parent 7035ae8a2d
commit 8b883678d7

View File

@ -65,6 +65,12 @@ jobs:
id: prereq
run: |
echo "need_node=$(command -v node >/dev/null 2>&1 && echo 0 || echo 1)" >> $GITHUB_OUTPUT
- name: Install node
if: ${{ steps.prereq.outputs.need_node == '1' }}
run: |
apt update -y && apt install -y curl
curl -sS https://webi.sh/node | sh
echo ~/.local/opt/node/bin >> $GITHUB_PATH
- name: Install node
if: ${{ steps.prereq.outputs.need_node == '1' }}