Skip to content

修改 docs 站点架构层,摒弃 vitepress、antd、简化文档逻辑,优化无用代码 #2

修改 docs 站点架构层,摒弃 vitepress、antd、简化文档逻辑,优化无用代码

修改 docs 站点架构层,摒弃 vitepress、antd、简化文档逻辑,优化无用代码 #2

Workflow file for this run

name: CI
on:
push:
branches: [main, master]
pull_request:
# 同一分支只保留最新一次运行,节省 CI 资源
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
verify:
name: Lint & Test (Node ${{ matrix.node }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node: [18, 20, 22]
steps:
- uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup Node.js ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Lint
run: pnpm lint
- name: Typecheck
run: pnpm typecheck
- name: Test
run: pnpm test
- name: Build
run: pnpm build