File tree Expand file tree Collapse file tree 1 file changed +20
-6
lines changed
Expand file tree Collapse file tree 1 file changed +20
-6
lines changed Original file line number Diff line number Diff line change @@ -18,23 +18,37 @@ jobs:
1818 runs-on : ubuntu-latest
1919 steps :
2020 - name : Checkout
21- uses : actions/checkout@v4
21+ uses : actions/checkout@v6
2222 with :
2323 fetch-depth : 0
2424
2525 - name : Setup Node.js
26- uses : actions/setup-node@v4
26+ uses : actions/setup-node@v5
2727 with :
28- node-version : ' 20 '
28+ node-version : ' 24 '
2929 cache : ' pnpm'
3030
3131 - name : Setup Pages
32- uses : actions/configure-pages@v4
32+ uses : actions/configure-pages@v5
3333
34- - name : Install pnpm
34+ # version isn't set
35+ # it will use the one from `packageManager` in the package.json
36+ - name : Setup pnpm
3537 uses : pnpm/action-setup@v4
38+
39+ - name : Get pnpm store directory
40+ id : pnpm-cache
41+ shell : bash
42+ run : |
43+ echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_OUTPUT
44+
45+ - name : Setup pnpm cache
46+ uses : actions/cache@v4
3647 with :
37- version : 10.10.0
48+ path : ${{ steps.pnpm-cache.outputs.STORE_PATH }}
49+ key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
50+ restore-keys : |
51+ ${{ runner.os }}-pnpm-store-
3852
3953 - name : Install dependencies
4054 run : pnpm install --frozen-lockfile
You can’t perform that action at this time.
0 commit comments