Skip to content

Commit 53e3039

Browse files
Remove node install script
1 parent e9ae9a5 commit 53e3039

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed

azure-pipelines.yaml

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -37,26 +37,6 @@ stages:
3737
versionSpec: '$(python.version)'
3838
architecture: 'x64'
3939

40-
- script: |
41-
echo $(node -v)
42-
npm install --global yarn
43-
displayName: 'Install NodeJS and yarn'
44-
condition: eq(variables['imageName'], 'macOS-12')
45-
46-
- script: |
47-
sudo apt-get install curl
48-
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
49-
sudo apt-get install nodejs
50-
displayName: 'Install NodeJS'
51-
condition: eq(variables['imageName'], 'ubuntu-22.04')
52-
53-
- script: |
54-
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
55-
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
56-
sudo apt update && sudo apt install yarn
57-
displayName: 'Install yarn'
58-
condition: eq(variables['imageName'], 'ubuntu-22.04')
59-
6040
- script: python -m pip install --upgrade ipywidgets traitlets pytest build jupyter-packaging==0.10.6 jupyterlab==$(jupyterlab.version)
6141
# pip installs release candidates by default:
6242
# https://github.com/pypa/pip/issues/4969
@@ -72,7 +52,7 @@ stages:
7252
- task: NodeTool@0
7353
inputs:
7454
versionSpec: '18.x'
75-
- script: yarn
55+
- script: jlpm
7656
displayName: 'Install labextension dependencies'
7757
env:
7858
NPM_TOKEN: $(NPM_TOKEN)

0 commit comments

Comments
 (0)