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 43a8fef commit 996bbcaCopy full SHA for 996bbca
.github/workflows/build-check.yml
@@ -0,0 +1,36 @@
1
+name: build-check
2
+
3
+on:
4
+ push:
5
+ branches: [ "master" ]
6
+ pull_request:
7
8
9
+jobs:
10
+ deploy-gh-pages:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Checkout
14
+ uses: actions/checkout@v3
15
+ with:
16
+ fetch-depth: 0
17
+ # 如果你文档需要 Git 子模块,取消注释下一行
18
+ # submodules: true
19
+ - name: 设置 Node.js
20
+ uses: actions/setup-node@v3
21
22
+ node-version: 18
23
+ cache: npm
24
25
+ - name: 安装pnpm
26
+ run : npm install -g pnpm
27
28
+ - name: 安装依赖
29
+ run: pnpm install --frozen-lockfile
30
31
+ - name: 构建文档
32
+ env:
33
+ NODE_OPTIONS: --max_old_space_size=8192
34
+ run: |-
35
+ pnpm docs:build
36
+ > src/.vuepress/dist/.nojekyll
0 commit comments