File tree Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Expand file tree Collapse file tree 2 files changed +16
-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 :
@@ -127,9 +128,20 @@ jobs:
127128 node-version : ' 18.x'
128129 cache : ' npm'
129130 cache-dependency-path : ' **/package-lock.json'
131+ - name : Use npm global on windows
132+ if : runner.os == 'Windows'
133+ run : |
134+ $Env:Path
135+ echo "$(npm config get prefix)" >> "$GITHUB_PATH"
136+ $Env:Path
130137 - name : setup pnpm/yarn
131- run : corepack enable
132- shell : bash
138+ run : |
139+ corepack --version
140+ which corepack
141+ npm install -g corepack --force
142+ npm list -g
143+ corepack --version
144+ which corepack
133145 - name : Install Deno
134146 uses : denoland/setup-deno@v1
135147 with :
Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ const promises = fixtures.map((fixture) =>
7070 callback ( )
7171 } ,
7272 } )
73+
7374 console . log ( `[${ fixture } ] Running \`${ cmd } \`...` )
7475 const output = execaCommand ( cmd , {
7576 cwd,
You can’t perform that action at this time.
0 commit comments