From 71ddbe97d467a99111c1c3a40b1d15ca94e5648e Mon Sep 17 00:00:00 2001 From: Echo Date: Mon, 27 Apr 2026 20:07:15 +0000 Subject: [PATCH] Fix YAML formatting in frontend-lint job --- .gitea/workflows/ci.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index f952090..569aa6e 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -159,14 +159,11 @@ jobs: apt-get update -qq apt-get install -y --no-install-recommends curl ca-certificates - - name: Install Node.js 18 + - name: Install Node.js from Ubuntu repos run: | - # Install n (Node version manager) and use it to install Node.js 18 - npm install -g n - n 18 - # Ensure node and npm are in PATH - export PATH="/usr/local/bin:$PATH" - hash -r + # Use only Ubuntu repository packages + apt-get update -qq + apt-get install -y --no-install-recommends nodejs npm node --version npm --version