Skip to content

feat: add GitHub Pages deploy workflow, streamline CellRenderProps, f… #4

feat: add GitHub Pages deploy workflow, streamline CellRenderProps, f…

feat: add GitHub Pages deploy workflow, streamline CellRenderProps, f… #4

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
# 同一分支只保留最新一次运行,节省 CI 资源
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
verify:
name: Lint, Test & Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
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 library
run: pnpm build
- name: Build docs
run: pnpm docs:build