File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -55,18 +55,30 @@ jobs:
5555 - name : Checkout
5656 uses : actions/checkout@v4
5757
58+ - name : Setup pnpm
59+ uses : pnpm/action-setup@v4
60+ with :
61+ version : " 10"
62+ run_install : false
63+
5864 # Setup Node.js environment
5965 - name : Setup Node.js
6066 uses : actions/setup-node@v4
6167 with :
6268 registry-url : https://registry.npmjs.org/
6369 node-version : " 22"
64- cache : pnpm
6570
66- - name : Setup pnpm
67- uses : pnpm/action-setup@v4
71+ - name : Get pnpm store path
72+ id : pnpm-store
73+ run : echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_OUTPUT
74+
75+ - name : Cache pnpm store
76+ uses : actions/cache@v4
6877 with :
69- version : " 10"
78+ path : ${{ steps.pnpm-store.outputs.STORE_PATH }}
79+ key : ${{ runner.os }}-pnpm-22-${{ hashFiles('pnpm-lock.yaml') }}
80+ restore-keys : |
81+ ${{ runner.os }}-pnpm-22-
7082
7183 - name : Ensure npm supports trusted publishing
7284 run : npm install -g npm@^11.5.1
You can’t perform that action at this time.
0 commit comments