This commit is contained in:
philipp 2024-02-28 10:01:05 +01:00
parent 5fe4734ed4
commit 7035ae8a2d

View File

@ -61,6 +61,17 @@ jobs:
LATEX_SPELLCHECK_TEXLIVE_VERSION: TL2021-2021-12-12-04-05
LATEX_SPELLCHECK_TEXLIVE_IMAGE: registry.gitlab.com/islandoftex/images/texlive
steps:
- name: "Determine prerequisites"
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
- uses: actions/checkout@v3
with:
fetch-depth: 0