Add Node.js to workflows for Forgejo Actions compatibility
Some checks failed
Simple Build & Upload / build (push) Has been cancelled

- Install nodejs and npm in both workflows
- Required for Forgejo Actions artifact upload functionality
- This should resolve the 'node: executable file not found' error
- Both workflows now have all necessary dependencies
This commit is contained in:
robojerk 2025-08-10 00:52:14 -07:00
parent ee47ef8b70
commit 2b9f885009
2 changed files with 2 additions and 2 deletions

View file

@ -59,7 +59,7 @@ jobs:
fi
# Install additional build dependencies
apt install -y libssl-dev libsystemd-dev file pkg-config build-essential zip
apt install -y libssl-dev libsystemd-dev file pkg-config build-essential zip nodejs npm
# Install required Rust components
echo "Installing Rust components..."

View file

@ -21,7 +21,7 @@ jobs:
- name: Checkout code and setup environment
run: |
apt update -y
apt install -y git curl pkg-config libssl-dev libsystemd-dev build-essential file zip
apt install -y git curl pkg-config libssl-dev libsystemd-dev build-essential file zip nodejs npm
# Install required Rust components
echo "Installing Rust components..."