Add Node.js to workflows for Forgejo Actions compatibility
Some checks failed
Simple Build & Upload / build (push) Has been cancelled
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:
parent
ee47ef8b70
commit
2b9f885009
2 changed files with 2 additions and 2 deletions
|
|
@ -59,7 +59,7 @@ jobs:
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Install additional build dependencies
|
# 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
|
# Install required Rust components
|
||||||
echo "Installing Rust components..."
|
echo "Installing Rust components..."
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ jobs:
|
||||||
- name: Checkout code and setup environment
|
- name: Checkout code and setup environment
|
||||||
run: |
|
run: |
|
||||||
apt update -y
|
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
|
# Install required Rust components
|
||||||
echo "Installing Rust components..."
|
echo "Installing Rust components..."
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue