From 7b8c38489e69076a0f1293c2100320cfeba14045 Mon Sep 17 00:00:00 2001 From: jade Date: Mon, 27 Jul 2026 13:07:29 +0900 Subject: [PATCH] ci: Add Node.js installation step to Gitea Actions deploy workflow --- .gitea/workflows/deploy.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 6391d191..9e61c530 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -12,6 +12,14 @@ jobs: runs-on: ubuntu-latest steps: + - name: Install Node.js (Prerequisite for Github Actions) + run: | + if ! command -v node &> /dev/null; then + echo "Node.js not found. Installing Node.js 20..." + curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - + sudo apt-get install -y nodejs + fi + - name: Checkout Code uses: actions/checkout@v4