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(){