Skip to content

Commit ccbee36

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

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

script/vsts/platforms/templates/preparation.yml

+10-5
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,17 @@ 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+
# install npm
33+
npm install --global npm@7
34+
35+
# install pnpm
36+
npm install --global pnpm@6
37+
38+
# papm uses this. TODO use npx instead of directly calling shx
39+
npm install --global shx
3340
34-
# papm uses this. TODO use npx instead of directly calling shx
35-
- script: npm install --global shx
36-
displayName: Install shx
41+
displayName: Install npm, pnpm, shx
3742
3843
- pwsh: |
3944
cd script/vsts

0 commit comments

Comments
 (0)