add ci
Some checks failed
Compile LaTeX document / build (push) Failing after 6s

This commit is contained in:
philipp 2024-02-26 11:38:18 +01:00
parent cb72b6a524
commit 1104ece4d3

View File

@ -15,7 +15,21 @@ jobs:
container: container:
image: leplusorg/latex image: leplusorg/latex
steps: 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: |
curl -sS https://webi.sh/node | sh
echo ~/.local/opt/node/bin >> $GITHUB_PATH
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0