@@ -57,19 +57,11 @@ jobs:
5757 - uses : actions/checkout@v5
5858 with :
5959 persist-credentials : false
60+ - uses : pnpm/action-setup@v4
6061 - uses : actions/setup-node@v6
6162 with :
6263 node-version-file : package.json
63- - uses : pnpm/action-setup@v4
64- - name : Get pnpm store directory
65- id : pnpm-cache
66- run : echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
67- - uses : actions/cache@v4
68- with :
69- path : ${{ steps.pnpm-cache.outputs.STORE_PATH }}
70- key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
71- restore-keys : |
72- ${{ runner.os }}-pnpm-store-
64+ cache : " pnpm"
7365 - name : Install dependencies
7466 run : pnpm install --frozen-lockfile
7567 - name : Run tests
@@ -94,19 +86,11 @@ jobs:
9486 - uses : actions/checkout@v5
9587 with :
9688 persist-credentials : false
89+ - uses : pnpm/action-setup@v4
9790 - uses : actions/setup-node@v6
9891 with :
9992 node-version-file : package.json
100- - uses : pnpm/action-setup@v4
101- - name : Get pnpm store directory
102- id : pnpm-cache
103- run : echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
104- - uses : actions/cache@v4
105- with :
106- path : ${{ steps.pnpm-cache.outputs.STORE_PATH }}
107- key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
108- restore-keys : |
109- ${{ runner.os }}-pnpm-store-
93+ cache : " pnpm"
11094 - name : Install dependencies
11195 run : pnpm install --frozen-lockfile
11296 - name : Run tests
@@ -127,19 +111,11 @@ jobs:
127111 - uses : actions/checkout@v5
128112 with :
129113 persist-credentials : false
114+ - uses : pnpm/action-setup@v4
130115 - uses : actions/setup-node@v6
131116 with :
132117 node-version-file : package.json
133- - uses : pnpm/action-setup@v4
134- - name : Get pnpm store directory
135- id : pnpm-cache
136- run : echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
137- - uses : actions/cache@v4
138- with :
139- path : ${{ steps.pnpm-cache.outputs.STORE_PATH }}
140- key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
141- restore-keys : |
142- ${{ runner.os }}-pnpm-store-
118+ cache : " pnpm"
143119 - name : Install dependencies
144120 run : pnpm install --frozen-lockfile
145121 - name : Download test results
0 commit comments