File tree Expand file tree Collapse file tree 2 files changed +46
-7
lines changed Expand file tree Collapse file tree 2 files changed +46
-7
lines changed Original file line number Diff line number Diff line change 17
17
fetch-depth : 0
18
18
submodules : true
19
19
20
- - uses : actions/setup-node@v3
20
+ - uses : pnpm/action-setup@v4
21
21
with :
22
- node-version : 16
22
+ version : 9.12.1
23
+
24
+ - name : Setup node
25
+ uses : actions/setup-node@v3
26
+ with :
27
+ node-version-file : ' .nvmrc'
28
+ cache : ' pnpm'
29
+
30
+ - name : Cache NPM dependencies
31
+ uses : actions/cache@v4
32
+ id : cache
33
+ with :
34
+ path : node_modules
35
+ key : ${{ runner.os }}-node-${{ hashFiles('pnpm-lock.yaml') }}
23
36
24
37
- name : Install ⚙️
25
38
run : pnpm install --frozen-lockfile
40
53
fetch-depth : 0
41
54
submodules : true
42
55
43
- - uses : actions/setup-node@v3
56
+ - uses : pnpm/action-setup@v4
57
+ with :
58
+ version : 9.12.1
59
+
60
+ - name : Setup node
61
+ uses : actions/setup-node@v3
44
62
with :
45
- node-version : 16
63
+ node-version-file : ' .nvmrc'
64
+ cache : ' pnpm'
65
+
66
+ - name : Cache NPM dependencies
67
+ uses : actions/cache@v4
68
+ id : cache
69
+ with :
70
+ path : node_modules
71
+ key : ${{ runner.os }}-node-${{ hashFiles('pnpm-lock.yaml') }}
46
72
47
73
- name : Install ⚙️
48
74
run : pnpm install --frozen-lockfile
70
96
fetch-depth : 0
71
97
submodules : true
72
98
73
- - uses : actions/setup-node@v3
99
+ - uses : pnpm/action-setup@v4
100
+ with :
101
+ version : 9.12.1
102
+
103
+ - name : Setup node
104
+ uses : actions/setup-node@v3
105
+ with :
106
+ node-version-file : ' .nvmrc'
107
+ cache : ' pnpm'
108
+
109
+ - name : Cache NPM dependencies
110
+ uses : actions/cache@v4
111
+ id : cache
74
112
with :
75
- node-version : 16
113
+ path : node_modules
114
+ key : ${{ runner.os }}-node-${{ hashFiles('pnpm-lock.yaml') }}
76
115
77
116
- name : Install Docusaurus ⚙️
78
117
run : pnpm install --frozen-lockfile
Original file line number Diff line number Diff line change 1
- 20.11
1
+ 20.12.2
You can’t perform that action at this time.
0 commit comments