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 1717 fetch-depth : 0
1818 submodules : true
1919
20- - uses : actions/setup-node@v3
20+ - uses : pnpm/action-setup@v4
2121 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') }}
2336
2437 - name : Install ⚙️
2538 run : pnpm install --frozen-lockfile
4053 fetch-depth : 0
4154 submodules : true
4255
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
4462 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') }}
4672
4773 - name : Install ⚙️
4874 run : pnpm install --frozen-lockfile
7096 fetch-depth : 0
7197 submodules : true
7298
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
74112 with :
75- node-version : 16
113+ path : node_modules
114+ key : ${{ runner.os }}-node-${{ hashFiles('pnpm-lock.yaml') }}
76115
77116 - name : Install Docusaurus ⚙️
78117 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