File tree Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -22,13 +22,29 @@ jobs:
2222
2323 steps :
2424 - uses : actions/checkout@v3
25+
26+ - uses : actions/setup-node@v3
27+ with :
28+ node-version : 16
29+
2530 - uses : pnpm/action-setup@v2.2.2
2631 with :
2732 version : 7
28- - uses : actions/setup-node@v3
33+ run_install : false
34+
35+ - name : Get pnpm store directory
36+ id : pnpm-cache
37+ shell : bash
38+ run : |
39+ echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
40+
41+ - uses : actions/cache@v3
42+ name : Setup pnpm cache
2943 with :
30- node-version : ' 16'
31- cache : ' pnpm'
44+ path : ${{ steps.pnpm-cache.outputs.STORE_PATH }}
45+ key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
46+ restore-keys : |
47+ ${{ runner.os }}-pnpm-store-
3248
3349 - name : Cache firebase tools
3450 id : cache-firebase-tools
You can’t perform that action at this time.
0 commit comments