File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Expand file tree Collapse file tree 2 files changed +15
-2
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,8 +128,19 @@ 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+ echo "$(npm config get prefix)" >> "$GITHUB_PATH"
135+ shell : bash
130136 - name : setup pnpm/yarn
131- run : corepack enable
137+ run : |
138+ corepack --version
139+ which corepack
140+ npm install -g corepack --force
141+ corepack --version
142+ which corepack
143+ npm list -g
132144 shell : bash
133145 - name : Install Deno
134146 uses : denoland/setup-deno@v1
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