Skip to content

polish(home): 首页与外框的几处视觉打磨 #17

polish(home): 首页与外框的几处视觉打磨

polish(home): 首页与外框的几处视觉打磨 #17

Workflow file for this run

name: CI
on:
pull_request:
branches: [master, main]
# Also run on pushes to non-default branches so a manual `git push` can
# surface lint / type errors before opening the PR.
push:
branches-ignore: [master, main]
# Cancel any in-flight CI run on the same ref when a new commit lands.
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
verify:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Type-check
run: npm run typecheck
# Build verifies frontmatter validation, search-index generation, and
# the static export all succeed end-to-end. Slower than lint+tsc alone,
# but catches things they can't (bad MDX, runtime route errors).
- name: Build
run: npm run build