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 eaca126 commit da9108cCopy full SHA for da9108c
.github/workflows/deploy-to-github-pages.yml
@@ -35,8 +35,23 @@ jobs:
35
uses: actions/setup-node@v4
36
with:
37
node-version: "18.x"
38
- cache: pnpm
39
- - name: Install Dependencies
+ - name: Install pnpm
+ uses: pnpm/action-setup@v2
40
+ with:
41
+ version: 8
42
+ run_install: false
43
+ - name: Get pnpm store directory
44
+ shell: bash
45
+ run: |
46
+ echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
47
+ - name: Setup pnpm cache
48
+ uses: actions/cache@v3
49
50
+ path: ${{ env.STORE_PATH }}
51
+ key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
52
+ restore-keys: |
53
+ ${{ runner.os }}-pnpm-store-
54
+ - name: Install dependencies
55
run: pnpm install
56
- name: Build
57
run: pnpm run build
0 commit comments