File tree 3 files changed +3290
-4784
lines changed
3 files changed +3290
-4784
lines changed Original file line number Diff line number Diff line change @@ -26,13 +26,27 @@ jobs:
26
26
uses : actions/setup-node@v4
27
27
with :
28
28
node-version : 20
29
- cache : npm
29
+ - name : Install pnpm
30
+ uses : pnpm/action-setup@v2
31
+ with :
32
+ version : 9
33
+ - name : Get pnpm store directory
34
+ shell : bash
35
+ run : |
36
+ echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
37
+ - name : Setup pnpm cache
38
+ uses : actions/cache@v3
39
+ with :
40
+ path : ${{ env.STORE_PATH }}
41
+ key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
42
+ restore-keys : |
43
+ ${{ runner.os }}-pnpm-store-
30
44
- name : Setup Pages
31
45
uses : actions/configure-pages@v4
32
46
- name : Install dependencies
33
- run : npm ci
47
+ run : pnpm install
34
48
- name : Build with VitePress
35
- run : npm run docs:build
49
+ run : pnpm run docs:build
36
50
- name : Upload artifact
37
51
uses : actions/upload-pages-artifact@v3
38
52
with :
You can’t perform that action at this time.
0 commit comments