Skip to content

Commit

Permalink
build: 设置pnpm缓存
Browse files Browse the repository at this point in the history
  • Loading branch information
smilecc committed Dec 25, 2023
1 parent ec3f759 commit adc7370
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/docs-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,19 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18
cache: pnpm
- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 8
run_install: false
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Install dependencies
Expand Down

0 comments on commit adc7370

Please sign in to comment.