@@ -18,31 +18,19 @@ jobs:
18
18
steps :
19
19
- uses : actions/checkout@v4
20
20
21
- - uses : pnpm/action-setup@v4.1.0
21
+ - uses : pnpm/action-setup@v4
22
22
with :
23
- version : latest
23
+ version : 10.15.1
24
24
25
25
- uses : actions/setup-node@v4
26
26
with :
27
- node-version : 20
27
+ node-version : 22
28
28
cache : ' pnpm'
29
29
30
- - name : Get pnpm store directory
31
- id : pnpm-cache
32
- shell : bash
33
- run : |
34
- echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
35
-
36
- - uses : actions/cache@v3
37
- name : Setup pnpm cache
38
- with :
39
- path : ${{ steps.pnpm-cache.outputs.STORE_PATH }}
40
- key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
41
- restore-keys : |
42
- ${{ runner.os }}-pnpm-store-
30
+ # Cache is handled by setup-node with cache: 'pnpm'
43
31
44
32
- name : Install dependencies
45
- run : pnpm install
33
+ run : pnpm install --frozen-lockfile
46
34
47
35
- name : Install Playwright Browsers
48
36
run : pnpm exec playwright install --with-deps ${{ matrix.browser }}
@@ -68,17 +56,17 @@ jobs:
68
56
steps :
69
57
- uses : actions/checkout@v4
70
58
71
- - uses : pnpm/action-setup@v2
59
+ - uses : pnpm/action-setup@v4
72
60
with :
73
- version : 8
61
+ version : 10.15.1
74
62
75
63
- uses : actions/setup-node@v4
76
64
with :
77
- node-version : 20
65
+ node-version : 22
78
66
cache : ' pnpm'
79
67
80
68
- name : Install dependencies
81
- run : pnpm install
69
+ run : pnpm install --frozen-lockfile
82
70
83
71
- name : Install Playwright
84
72
run : pnpm exec playwright install --with-deps chromium
0 commit comments