File tree 1 file changed +10
-22
lines changed
1 file changed +10
-22
lines changed Original file line number Diff line number Diff line change @@ -19,34 +19,22 @@ jobs:
19
19
with :
20
20
version : 9.15.0
21
21
22
- - name : Cache pnpm
23
- uses : actions/cache@v4
24
- with :
25
- path : |
26
- ~/.pnpm-store
27
- **/node_modules
28
- key : ${{ runner.os }}-pnpm-${{ runner.arch }}-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**/package.json') }}
29
- restore-keys : |
30
- ${{ runner.os }}-pnpm-${{ runner.arch }}-${{ hashFiles('**/pnpm-lock.yaml') }}-
31
- ${{ runner.os }}-pnpm-${{ runner.arch }}-
32
-
33
- - name : Cache plugin dist
34
- uses : actions/cache@v4
35
- with :
36
- path : |
37
- **/packages/plugin-*/dist
38
- key : ${{ runner.os }}-plugin-dist-${{ runner.arch }}-${{ hashFiles('**/pnpm-lock.yaml') }}
39
- restore-keys : |
40
- ${{ runner.os }}-plugin-dist-${{ runner.arch }}-
41
-
42
22
- uses : actions/setup-node@v4
43
23
with :
44
24
node-version : " 23.3.0"
25
+ cache : ' pnpm'
26
+ cache-dependency-path : ' **/pnpm-lock.yaml'
45
27
46
- - name : Install dependencies
28
+ - name : Configure pnpm
47
29
run : |
48
30
pnpm config set store-dir ~/.pnpm-store
49
- pnpm install -r --no-frozen-lockfile
31
+ pnpm config set prefer-offline true
32
+ pnpm config set node-linker hoisted
33
+ pnpm config set shamefully-hoist true
34
+ pnpm config list
35
+
36
+ - name : Install dependencies
37
+ run : pnpm install -r --no-frozen-lockfile --prefer-offline
50
38
51
39
- name : Build packages
52
40
run : pnpm build
You can’t perform that action at this time.
0 commit comments