From 868ebfd5ab3ad5ea2013d75605b35d9bc36280dd Mon Sep 17 00:00:00 2001 From: goose Date: Fri, 13 Mar 2026 10:50:44 -0300 Subject: [PATCH] fix(ci): install Node.js before checkout action --- .forgejo/workflows/lint-and-build.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/lint-and-build.yml b/.forgejo/workflows/lint-and-build.yml index 96af188..9529784 100644 --- a/.forgejo/workflows/lint-and-build.yml +++ b/.forgejo/workflows/lint-and-build.yml @@ -10,13 +10,20 @@ jobs: container: image: rust:1.83-bullseye steps: + - name: Install Node.js + run: | + apt-get update + apt-get install -y curl gnupg + curl -fsSL https://deb.nodesource.com/setup_20.x | bash - + apt-get install -y nodejs + - name: Checkout code uses: actions/checkout@v4 - name: Install dependencies run: | apt-get update - apt-get install -y git nodejs pkg-config libssl-dev + apt-get install -y pkg-config libssl-dev - name: Run Clippy run: cargo clippy --all-targets --all-features -- -D warnings