ci: 优化ci配置
Some checks failed
CI / build (push) Has been cancelled

This commit is contained in:
2026-04-05 17:15:27 +08:00
parent b1cfd4f04c
commit 9d1ec850ed

View File

@@ -1,4 +1,7 @@
# Gitea Actions需开启 Actions 并注册 act_runnerruns-on 标签需与 Runner 一致
# Gitea Actions需开启 Actions 并注册 act_runner
# act_runner 下 Job 容器内必须有 nodecheckout/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