try ci
This commit is contained in:
parent
7035ae8a2d
commit
8b883678d7
@ -65,6 +65,12 @@ jobs:
|
|||||||
id: prereq
|
id: prereq
|
||||||
run: |
|
run: |
|
||||||
echo "need_node=$(command -v node >/dev/null 2>&1 && echo 0 || echo 1)" >> $GITHUB_OUTPUT
|
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
|
- name: Install node
|
||||||
if: ${{ steps.prereq.outputs.need_node == '1' }}
|
if: ${{ steps.prereq.outputs.need_node == '1' }}
|
||||||
|
Loading…
Reference in New Issue
Block a user