File tree 2 files changed +16
-3
lines changed
2 files changed +16
-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 :
@@ -127,9 +128,20 @@ jobs:
127
128
node-version : ' 18.x'
128
129
cache : ' npm'
129
130
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
130
137
- 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
133
145
- name : Install Deno
134
146
uses : denoland/setup-deno@v1
135
147
with :
Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ const promises = fixtures.map((fixture) =>
70
70
callback ( )
71
71
} ,
72
72
} )
73
+
73
74
console . log ( `[${ fixture } ] Running \`${ cmd } \`...` )
74
75
const output = execaCommand ( cmd , {
75
76
cwd,
You can’t perform that action at this time.
0 commit comments