Skip to content

Commit 36e4304

Browse files
committed
ci: install pnpm globally in inside ci
1 parent 5aa09c5 commit 36e4304

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

script/vsts/platforms/templates/preparation.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,16 @@ steps:
2828
force32bit: $(IsWinX86)
2929
displayName: Install Node.js 12.18.3
3030

31-
- script: npm install --global npm@7
32-
displayName: Update npm
31+
- script: |
32+
npm install --global npm@7
33+
displayName: Install npm
34+
35+
- script: |
36+
npm install --global pnpm@6
37+
displayName: Install pnpm
3338
34-
# papm uses this. TODO use npx instead of directly calling shx
35-
- script: npm install --global shx
39+
- script: |
40+
pnpm install --global shx
3641
displayName: Install shx
3742
3843
- pwsh: |

0 commit comments

Comments
 (0)