We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0b7a8f commit 6e1a0a7Copy full SHA for 6e1a0a7
.github/workflows/build-docs..yml
@@ -0,0 +1,32 @@
1
+name: 构建博客
2
+
3
+on:
4
+ pull_request:
5
+ branches: [ "main" ]
6
7
+jobs:
8
+ build-docs:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Checkout
12
+ uses: actions/checkout@v4
13
+ with:
14
+ fetch-depth: 0
15
16
+ - name: Setup Pnpm
17
+ uses: pnpm/action-setup@v4
18
19
+ - name: 设置 Node.js
20
+ uses: actions/setup-node@v4
21
22
+ node-version: 22
23
+ cache: pnpm
24
25
+ - name: 安装依赖
26
+ run: pnpm install --frozen-lockfile
27
28
+ - name: 构建文档
29
+ env:
30
+ NODE_OPTIONS: --max_old_space_size=8192
31
+ run: |-
32
+ pnpm docs:build
0 commit comments