File tree Expand file tree Collapse file tree 1 file changed +3
-12
lines changed
Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -39,24 +39,15 @@ jobs:
3939 uses : actions/setup-node@v4
4040 with :
4141 node-version : ' 20'
42+ cache : ' pnpm'
43+ cache-dependency-path : ' site/pnpm-lock.yaml'
4244
4345 - name : Setup pnpm
4446 uses : pnpm/action-setup@v4
4547 with :
4648 version : latest
4749
48- - name : Get pnpm store directory
49- shell : bash
50- run : |
51- echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
52-
53- - name : Setup pnpm cache
54- uses : actions/cache@v4
55- with :
56- path : ${{ env.STORE_PATH }}
57- key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
58- restore-keys : |
59- ${{ runner.os }}-pnpm-store-
50+ # Rely on actions/setup-node pnpm cache; no manual pnpm store cache needed
6051
6152 - name : Install site dependencies
6253 run : |
You can’t perform that action at this time.
0 commit comments