Skip to content

docs: 同步主文档、README、工具说明与技能说明 #1

docs: 同步主文档、README、工具说明与技能说明

docs: 同步主文档、README、工具说明与技能说明 #1

Workflow file for this run

name: CI
on:
push:
branches: [main, main-ts-version]
pull_request:
branches: [main, main-ts-version]
permissions:
contents: read
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['18', '20', '22']
steps:
- uses: actions/checkout@v4
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Type check
run: npm run typecheck
- name: Lint
run: npm run lint
- name: Format check
run: npm run format:check
- name: Test
run: npm test
- name: Build
run: npm run build