File tree 2 files changed +20
-3
lines changed
2 files changed +20
-3
lines changed Original file line number Diff line number Diff line change 59
59
cache : ' npm'
60
60
cache-dependency-path : ' **/package-lock.json'
61
61
- uses : oven-sh/setup-bun@v1
62
+ - name : upgrade corepack
63
+ run : npm install -g corepack@latest
62
64
- name : setup pnpm/yarn
63
65
run : corepack enable
64
- shell : bash
65
66
- name : Install Deno
66
67
uses : denoland/setup-deno@v1
67
68
with :
@@ -128,8 +129,12 @@ jobs:
128
129
cache : ' npm'
129
130
cache-dependency-path : ' **/package-lock.json'
130
131
- name : setup pnpm/yarn
131
- run : corepack enable
132
- shell : bash
132
+ run : |
133
+ corepack --version
134
+ which corepack
135
+ npm install -g corepack --force
136
+ corepack --version
137
+ which corepack
133
138
- name : Install Deno
134
139
uses : denoland/setup-deno@v1
135
140
with :
Original file line number Diff line number Diff line change @@ -70,6 +70,18 @@ const promises = fixtures.map((fixture) =>
70
70
callback ( )
71
71
} ,
72
72
} )
73
+
74
+ {
75
+ console . log ( `[${ fixture } ] corepack --version` )
76
+ const output = execaCommand ( 'corepack --version' , {
77
+ cwd,
78
+ stdio : 'pipe' ,
79
+ env : { ...process . env , FORCE_COLOR : '1' } ,
80
+ } )
81
+ output . stdout ?. pipe ( addPrefix ) . pipe ( process . stdout )
82
+ output . stderr ?. pipe ( addPrefix ) . pipe ( process . stderr )
83
+ }
84
+
73
85
console . log ( `[${ fixture } ] Running \`${ cmd } \`...` )
74
86
const output = execaCommand ( cmd , {
75
87
cwd,
You can’t perform that action at this time.
0 commit comments