File tree Expand file tree Collapse file tree 3 files changed +3290
-4784
lines changed Expand file tree Collapse file tree 3 files changed +3290
-4784
lines changed Original file line number Diff line number Diff line change @@ -26,13 +26,27 @@ jobs:
2626 uses : actions/setup-node@v4
2727 with :
2828 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-
3044 - name : Setup Pages
3145 uses : actions/configure-pages@v4
3246 - name : Install dependencies
33- run : npm ci
47+ run : pnpm install
3448 - name : Build with VitePress
35- run : npm run docs:build
49+ run : pnpm run docs:build
3650 - name : Upload artifact
3751 uses : actions/upload-pages-artifact@v3
3852 with :
You can’t perform that action at this time.
0 commit comments