File tree 3 files changed +30
-3
lines changed
3 files changed +30
-3
lines changed Original file line number Diff line number Diff line change 83
83
node-version : 18
84
84
cache-dependency-path : pnpm-lock.yaml
85
85
86
+ - name : Activate corepack
87
+ shell : bash
88
+ run : |
89
+ # corepack > 0.24.1 will use native fetch
90
+ # and native fetch not support HTTP_PROXY
91
+ # https://github.com/nodejs/undici/issues/1650
92
+
93
+ corepack enable
94
+
86
95
- name : Install Pnpm
87
- run : corepack enable && pnpm -v && pnpm store path
96
+ run : pnpm -v && pnpm store path
88
97
89
98
- name : Cache pnpm cache
90
99
uses : actions/cache@v3
Original file line number Diff line number Diff line change 61
61
node-version : 18
62
62
cache-dependency-path : pnpm-lock.yaml
63
63
64
+ - name : Activate corepack
65
+ shell : bash
66
+ run : |
67
+ # corepack > 0.24.1 will use native fetch
68
+ # and native fetch not support HTTP_PROXY
69
+ # https://github.com/nodejs/undici/issues/1650
70
+
71
+ corepack enable
72
+
64
73
- name : Install Pnpm
65
- run : corepack enable && pnpm -v && pnpm store path
74
+ run : pnpm -v && pnpm store path
66
75
67
76
- name : Install Dependencies
68
77
run : pnpm run install:scripts
Original file line number Diff line number Diff line change 88
88
node-version : 18
89
89
cache-dependency-path : pnpm-lock.yaml
90
90
91
+ - name : Activate corepack
92
+ shell : bash
93
+ run : |
94
+ # corepack > 0.24.1 will use native fetch
95
+ # and native fetch not support HTTP_PROXY
96
+ # https://github.com/nodejs/undici/issues/1650
97
+
98
+ corepack enable
99
+
91
100
- name : Install Pnpm
92
- run : corepack enable && pnpm -v
101
+ run : pnpm -v && pnpm store path
93
102
94
103
- name : Cache pnpm cache
95
104
uses : actions/cache@v3
You can’t perform that action at this time.
0 commit comments