File tree Expand file tree Collapse file tree 2 files changed +23
-3
lines changed
Expand file tree Collapse file tree 2 files changed +23
-3
lines changed Original file line number Diff line number Diff line change 5959 cache : ' npm'
6060 cache-dependency-path : ' **/package-lock.json'
6161 - uses : oven-sh/setup-bun@v1
62+ - name : upgrade corepack
63+ run : npm install -g corepack@latest
6264 - name : setup pnpm/yarn
6365 run : corepack enable
64- shell : bash
6566 - name : Install Deno
6667 uses : denoland/setup-deno@v1
6768 with :
@@ -128,8 +129,15 @@ jobs:
128129 cache : ' npm'
129130 cache-dependency-path : ' **/package-lock.json'
130131 - name : setup pnpm/yarn
131- run : corepack enable
132- shell : bash
132+ run : |
133+ $Env:Path
134+ corepack --version
135+ which corepack
136+ npm install -g corepack --force
137+ npm list -g
138+ corepack --version
139+ which corepack
140+ $Env:Path
133141 - name : Install Deno
134142 uses : denoland/setup-deno@v1
135143 with :
Original file line number Diff line number Diff line change @@ -70,6 +70,18 @@ const promises = fixtures.map((fixture) =>
7070 callback ( )
7171 } ,
7272 } )
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+
7385 console . log ( `[${ fixture } ] Running \`${ cmd } \`...` )
7486 const output = execaCommand ( cmd , {
7587 cwd,
You can’t perform that action at this time.
0 commit comments