From 1356d1a837a1271e95bfa658d408243d0ad97dfb Mon Sep 17 00:00:00 2001 From: Roland Grunberg Date: Thu, 4 Nov 2021 17:15:26 -0400 Subject: [PATCH] Use vsce 1.x since 2.x is not compatible with Node 12.x Signed-off-by: Roland Grunberg --- .github/workflows/pr-verify.yml | 2 +- Jenkinsfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-verify.yml b/.github/workflows/pr-verify.yml index f4af33b0ce..2af0252e60 100644 --- a/.github/workflows/pr-verify.yml +++ b/.github/workflows/pr-verify.yml @@ -20,7 +20,7 @@ jobs: with: java-version: '11' distribution: 'adopt' - - run: npm install -g typescript vsce + - run: npm install -g typescript "vsce@<2" - run: wget http://download.eclipse.org/jdtls/snapshots/jdt-language-server-latest.tar.gz - run: mkdir server && tar -xvzf jdt-language-server-latest.tar.gz -C ./server && rm jdt-language-server-latest.tar.gz - run: npm install diff --git a/Jenkinsfile b/Jenkinsfile index f893b401c5..dc23d79fa2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,7 +4,7 @@ def installBuildRequirements(){ def nodeHome = tool 'nodejs-12.13.1' env.PATH="${env.PATH}:${nodeHome}/bin" sh "npm install -g typescript" - sh "npm install -g vsce" + sh 'npm install -g "vsce@<2"' } def buildVscodeExtension(){