File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828 - name : Install fonttools
2929 run : pip install fonttools brotli
3030
31- - name : Download font file
32- run : |
33- mkdir -p fonts-source
34- echo "📥 下载思源宋体字体文件..."
35- # 从 GitHub 直接下载 Noto Serif SC Regular TTF
36- curl -L "https://github.com/google/fonts/raw/main/ofl/notoserifsc/NotoSerifSC-Regular.ttf" \
37- -o fonts-source/NotoSerifSC-Regular.ttf || {
38- echo "❌ 字体文件下载失败"
39- exit 1
40- }
41- ls -lh fonts-source/
42- echo "✅ 字体文件下载完成"
43-
4431 - name : Install dependencies
4532 run : bun install
4633 # edgeone CLI 已包含在 devDependencies 中
Original file line number Diff line number Diff line change @@ -97,6 +97,5 @@ bun.lockb
9797lighthouse-reports /
9898
9999# Font source files (large files, should be downloaded separately)
100- fonts-source /* .ttf
101100fonts-source /* .otf
102101! fonts-source /.gitkeep
You can’t perform that action at this time.
0 commit comments