Update deploy.yml

This commit is contained in:
Chillcog committed 2026-07-12 14:08:01 -07:00
1 parent b1302b1e39
commit 9bd22e3c9b
1 file changed
+11 -3
+11 -3
View File
@@ -16,9 +16,17 @@ jobs:
runs-on: ${{ matrix.runner }}
steps:
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
run: |
if command -v apt-get &> /dev/null; then
sudo apt-get update && sudo apt-get install -y nodejs
elif command -v yum &> /dev/null; then
sudo yum install -y nodejs
elif command -v apk &> /dev/null; then
apk add nodejs
else
echo "Package manager not found. Please pre-install Node.js on the runner host."
exit 1
fi
- name: Prepare Git for SHA256 Repo
run: git config --global init.defaultObjectFormat sha256