File tree Expand file tree Collapse file tree 3 files changed +23
-6
lines changed Expand file tree Collapse file tree 3 files changed +23
-6
lines changed Original file line number Diff line number Diff line change @@ -16,13 +16,13 @@ jobs:
1616 - name : Setup Node
1717 uses : actions/setup-node@v3
1818 with :
19- node-version : 16
19+ node-version : 22
2020
2121 - name : Install pnpm
2222 uses : pnpm/action-setup@v2
2323 id : pnpm-install
2424 with :
25- version : 8
25+ version : 10
2626 run_install : false
2727
2828 - name : Get pnpm store directory
Original file line number Diff line number Diff line change @@ -16,13 +16,30 @@ jobs:
1616 - name : Setup Node
1717 uses : actions/setup-node@v3
1818 with :
19- node-version : 16
19+ node-version : 22
2020
2121 - name : Install pnpm
2222 uses : pnpm/action-setup@v2
2323 id : pnpm-install
2424 with :
25- version : 8
25+ version : 10
26+ run_install : false
27+
28+ - name : Get pnpm store directory
29+ id : pnpm-cache
30+ run : |
31+ echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
32+
33+ - name : Setup pnpm cache
34+ uses : actions/cache@v3
35+ with :
36+ path : ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
37+ key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
38+ restore-keys : |
39+ ${{ runner.os }}-pnpm-store-
40+
41+ - name : Install dependencies
42+ run : pnpm install
2643
2744 - name : Test
2845 uses : cypress-io/github-action@v4
Original file line number Diff line number Diff line change @@ -16,13 +16,13 @@ jobs:
1616 - name : Setup Node
1717 uses : actions/setup-node@v3
1818 with :
19- node-version : 16
19+ node-version : 22
2020
2121 - name : Install pnpm
2222 uses : pnpm/action-setup@v2
2323 id : pnpm-install
2424 with :
25- version : 8
25+ version : 10
2626 run_install : false
2727
2828 - name : Get pnpm store directory
You can’t perform that action at this time.
0 commit comments