Files
oci-portal-dash/.gitea/workflows/ci.yml
T
wangdefa 9d0c116ce3
CI / test (push) Successful in 53s
Release / release (push) Successful in 32s
仓库自包含化:CI/文档/规范入库,升级 echarts,填关于页链接
2026-07-09 19:05:28 +08:00

25 lines
569 B
YAML

name: CI
# 仅分支推送触发:tag 推送交给 release.yml;solo 开发不走 PR,去掉 pull_request 避免同一提交双跑
on:
push:
branches: ["**"]
jobs:
test:
runs-on: ubuntu-latest-amd64
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "24"
cache: npm
- name: 安装依赖
run: npm ci
- name: ESLint(检查模式)
run: npx eslint .
- name: 类型检查
run: npm run typecheck
- name: 构建
run: npm run build