From 73495aad17da4c9f8455873799d0c4d297841e8f Mon Sep 17 00:00:00 2001 From: Echo Date: Sun, 12 Apr 2026 17:35:02 +0000 Subject: [PATCH] Fix build jobs: add Node.js for actions/checkout (deb/rpm containers, apk/arch packages) --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8e986eb..81d1f2d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -89,6 +89,7 @@ jobs: build-deb: name: Build Debian Package runs-on: linux + container: node:18 steps: - uses: actions/checkout@v2 with: @@ -116,6 +117,7 @@ jobs: build-rpm: name: Build RPM Package runs-on: linux + container: node:18 steps: - uses: actions/checkout@v2 with: @@ -151,7 +153,7 @@ jobs: fetch-depth: 0 - name: Install build dependencies run: | - apk add --no-cache rust cargo musl-dev openssl-dev systemd-dev git + apk add --no-cache rust cargo musl-dev openssl-dev systemd-dev git nodejs npm - name: Build release binary run: cargo build --release --target x86_64-unknown-linux-musl - name: Create APK package @@ -198,7 +200,7 @@ jobs: fetch-depth: 0 - name: Install build dependencies run: | - pacman -Syu --noconfirm rust cargo systemd git base-devel + pacman -Syu --noconfirm rust cargo systemd git base-devel nodejs npm - name: Build release binary run: cargo build --release - name: Create PKGBUILD package