feat: ✨ 使用新的方式集成 Antd 组件库 #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
build: | |
name: Run Type Check, Linters & Tests | |
runs-on: ubuntu-latest | |
# skip env validation | |
env: | |
SKIP_ENV_VALIDATION: true | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Bun | |
uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: latest | |
- name: Install dependencies | |
run: bun i | |
- name: Check types | |
run: bun run type-check | |
- name: Check linting | |
run: bun run lint | |
- name: Run tests | |
run: bun test | |
- name: Check commits messages | |
uses: wagoid/commitlint-github-action@v5 |