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