From 2b9f88500905ab3c8700d60026365029e30b4343 Mon Sep 17 00:00:00 2001 From: robojerk Date: Sun, 10 Aug 2025 00:52:14 -0700 Subject: [PATCH] Add Node.js to workflows for Forgejo Actions compatibility - 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 --- .forgejo/workflows/build-artifacts.yml | 2 +- .forgejo/workflows/simple-build.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/build-artifacts.yml b/.forgejo/workflows/build-artifacts.yml index 1312259..07261f8 100644 --- a/.forgejo/workflows/build-artifacts.yml +++ b/.forgejo/workflows/build-artifacts.yml @@ -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..." diff --git a/.forgejo/workflows/simple-build.yml b/.forgejo/workflows/simple-build.yml index 61e4d6e..73c16c4 100644 --- a/.forgejo/workflows/simple-build.yml +++ b/.forgejo/workflows/simple-build.yml @@ -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..."