From 9d1ec850ed82f11dc1110dbc0a266180e11f2049 Mon Sep 17 00:00:00 2001 From: alboped Date: Sun, 5 Apr 2026 17:15:27 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E4=BC=98=E5=8C=96ci=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index b98ecf1..dfc9ee1 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -1,4 +1,7 @@ -# Gitea Actions:需开启 Actions 并注册 act_runner;runs-on 标签需与 Runner 一致 +# Gitea Actions:需开启 Actions 并注册 act_runner。 +# act_runner 下 Job 容器内必须有 node(checkout/setup-node 的脚本依赖),请设置例如: +# GITEA_RUNNER_LABELS=ubuntu-latest:docker://node:22-bookworm +# 并与本文件 runs-on、Setup Node 版本一致;需挂载 /var/run/docker.sock。 name: CI @@ -14,7 +17,7 @@ concurrency: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-latest:docker://node:22-bookworm steps: - name: Checkout