ci: 配置 Docker 容器运行、镜像源及自建 checkout action

This commit is contained in:
hhs
2026-06-13 10:25:02 +08:00
parent 54cf06e1d6
commit 63933a645f
2 changed files with 8 additions and 12 deletions

View File

@@ -11,17 +11,14 @@ on:
jobs:
ci:
runs-on: aliyun
container: node:22-bookworm
env:
npm_config_registry: https://registry.npmmirror.com
defaults:
run:
working-directory: frontend
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
cache-dependency-path: frontend/package-lock.json
- uses: http://8.161.227.145:3000/huanghaosheng/checkout@releases/v4
- name: Install dependencies
run: npm ci