File tree 3 files changed +21
-7
lines changed
3 files changed +21
-7
lines changed Original file line number Diff line number Diff line change 17
17
cache : pnpm
18
18
19
19
- shell : bash
20
- run : corepack enable && corepack prepare pnpm@latest --activate
20
+ run : |
21
+ npm i -g pnpm
22
+ pnpm --version # Verify installation
21
23
22
24
- shell : bash
23
25
run : pnpm install
Original file line number Diff line number Diff line change 26
26
cache : ' pnpm'
27
27
registry-url : ' https://registry.npmjs.org'
28
28
29
- - name : Enable pnpm
29
+ - name : Install pnpm
30
30
shell : bash
31
- run : corepack enable && corepack prepare pnpm@latest --activate
31
+ run : |
32
+ npm i -g pnpm
33
+ pnpm --version # Verify installation
32
34
33
35
- name : Install dependencies
34
36
shell : bash
Original file line number Diff line number Diff line change @@ -60,18 +60,23 @@ jobs:
60
60
steps :
61
61
- uses : actions/checkout@v4
62
62
63
- - name : Setup Node and pnpm
63
+ - name : Setup Node.js
64
64
uses : actions/setup-node@v4
65
65
with :
66
66
node-version : ${{ matrix.node }}
67
- cache : ' pnpm'
68
67
69
68
- name : Install pnpm
70
69
shell : bash
71
70
run : |
72
71
npm i -g pnpm
73
72
pnpm --version # Verify installation
74
73
74
+ - name : Setup pnpm cache
75
+ uses : actions/setup-node@v4
76
+ with :
77
+ node-version : ${{ matrix.node }}
78
+ cache : ' pnpm'
79
+
75
80
- name : Restore build artifacts
76
81
uses : actions/cache/restore@v4
77
82
with :
@@ -95,18 +100,23 @@ jobs:
95
100
steps :
96
101
- uses : actions/checkout@v4
97
102
98
- - name : Setup Node and pnpm
103
+ - name : Setup Node.js
99
104
uses : actions/setup-node@v4
100
105
with :
101
106
node-version : ${{ matrix.node }}
102
- cache : ' pnpm'
103
107
104
108
- name : Install pnpm
105
109
shell : bash
106
110
run : |
107
111
npm i -g pnpm
108
112
pnpm --version # Verify installation
109
113
114
+ - name : Setup pnpm cache
115
+ uses : actions/setup-node@v4
116
+ with :
117
+ node-version : ${{ matrix.node }}
118
+ cache : ' pnpm'
119
+
110
120
- name : Restore build artifacts
111
121
uses : actions/cache/restore@v4
112
122
with :
You can’t perform that action at this time.
0 commit comments