This commit is contained in:
parent
cb72b6a524
commit
1104ece4d3
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user