- 修复 gitea-logo :before 伪元素缺少公共样式选择器的问题 - 替换错误的 Gitea SVG path 为正确 logo - 重构 Gitea card 组件使用 giteaConfig 统一管理域名 - 更新 Gitea 链接域名 (gitea -> git) - 添加 simple-icons 图标包支持 - 删除未使用的 gitea-logo.svg - 删除 GitHub Pages 部署 workflow (使用 Vercel) - 删除 biome 代码质量检查 workflow - 简化 build workflow,单版本 Node 22,仅构建
31 lines
535 B
YAML
31 lines
535 B
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup pnpm
|
|
uses: pnpm/action-setup@v4
|
|
with:
|
|
run_install: false
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 22
|
|
|
|
- name: Install dependencies
|
|
run: pnpm install --frozen-lockfile
|
|
|
|
- name: Build
|
|
run: pnpm astro build
|