Skip to content

Commit 15dc0b5

Browse files
authored
Engineering - fix CLI build for Alpine ARM64 (microsoft#184309)
* Add task to install yarn * Move task * Add condition
1 parent dbed937 commit 15dc0b5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

build/azure-pipelines/alpine/cli-build-alpine.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@ steps:
1616
- ${{ if ne(parameters.VSCODE_QUALITY, 'oss') }}:
1717
- template: ../distro/download-distro.yml
1818

19+
# Install yarn as the ARM64 build agent is using vanilla Ubuntu
20+
- ${{ if eq(parameters.VSCODE_BUILD_ALPINE_ARM64, true) }}:
21+
- task: Npm@1
22+
displayName: Install yarn
23+
inputs:
24+
command: custom
25+
customCommand: install --global yarn
26+
1927
- script: |
2028
set -e
2129
yarn --frozen-lockfile --ignore-optional

0 commit comments

Comments
 (0)