sq
Build and deploy Docusaurus / build-and-deploy (push) Successful in 1m6s

This commit is contained in:
2026-03-06 21:44:48 +01:00
parent be6c9414a0
commit a63a0cdc3c
+8 -6
View File
@@ -12,15 +12,17 @@ jobs:
steps:
- name: Bootstrap Node 20
run: |
if command -v node >/dev/null 2>&1 && node --version | grep -q "^v20"; then
echo "Node 20 already installed: $(node --version)"
exit 0
fi
if command -v apt-get >/dev/null 2>&1; then
apt-get update -qq
apt-get install -y -qq curl
apt-get install -y -qq curl git
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
apt-get install -y -qq nodejs
node --version && npm --version
elif command -v apk >/dev/null 2>&1; then
apk add --no-cache nodejs npm git
else
echo "Unsupported package manager" && exit 1
fi
node --version && npm --version && git --version
- name: Checkout
run: |