Bläddra i källkod

chore: skip APIScan (#4432)

* chore: try using Windows to build and package

* chore: remove Linux step

* skip APIScan for core

* fix key

* revert testPlatforms

* Skip APIScan for the editor as well

* chore: fix nightly
Raymond Zhao 1 år sedan
förälder
incheckning
4b7e26f0a9
2 ändrade filer med 4 tillägg och 0 borttagningar
  1. 1 0
      .azure-pipelines/publish-nightly.yml
  2. 3 0
      .azure-pipelines/publish-stable.yml

+ 1 - 0
.azure-pipelines/publish-nightly.yml

@@ -48,6 +48,7 @@ extends:
       - name: monaco-editor-core
         workingDirectory: $(Build.SourcesDirectory)/dependencies/vscode/out-monaco-editor-core
         testPlatforms: []
+        skipAPIScan: true # package build requires Linux
         buildSteps:
           - script: sudo apt install -y libkrb5-dev
             displayName: Install libkrb5-dev

+ 3 - 0
.azure-pipelines/publish-stable.yml

@@ -36,6 +36,7 @@ extends:
       - name: monaco-editor-core
         workingDirectory: $(Build.SourcesDirectory)/dependencies/vscode/out-monaco-editor-core
         testPlatforms: []
+        skipAPIScan: true # package build requires Linux
         buildSteps:
           - script: sudo apt install -y libkrb5-dev
             displayName: Install libkrb5-dev
@@ -54,6 +55,7 @@ extends:
       - name: monaco-editor
         workingDirectory: $(Build.SourcesDirectory)/out/monaco-editor
         testPlatforms: []
+        skipAPIScan: true # package build requires Linux
         buildSteps:
           - script: npm ci
             displayName: Install NPM dependencies
@@ -68,6 +70,7 @@ extends:
       - name: monaco-editor-webpack-plugin
         workingDirectory: $(Build.SourcesDirectory)/webpack-plugin
         testPlatforms: []
+        packagePlatform: Windows
         buildSteps:
           - script: npm ci
             displayName: Install NPM dependencies