Parcourir la source

Includes monaco-editor-webpack-plugin in azure pipeline

Henning Dieterichs il y a 2 ans
Parent
commit
1b0a30a121
2 fichiers modifiés avec 14 ajouts et 1 suppressions
  1. 14 0
      .azure-pipelines/publish-stable.yml
  2. 0 1
      webpack-plugin/package.json

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

@@ -70,3 +70,17 @@ extends:
               git tag -a v$(SetPackageSpec.PACKAGE_VERSION) -m v$(SetPackageSpec.PACKAGE_VERSION)
               git push origin v$(SetPackageSpec.PACKAGE_VERSION)
             workingDirectory: $(Build.SourcesDirectory)
+
+      - name: monaco-editor-webpack-plugin
+        workingDirectory: $(Build.SourcesDirectory)/webpack-plugin
+        testPlatforms: []
+        buildSteps:
+          - script: npm ci
+            displayName: Install NPM dependencies
+
+          - script: npm run compile
+            displayName: Build plugin
+
+        tag: latest
+        publishPackage: ${{ parameters.publishWebpackPlugin }}
+        publishRequiresApproval: false

+ 0 - 1
webpack-plugin/package.json

@@ -7,7 +7,6 @@
 	"scripts": {
 		"watch": "tsc -w -p tsconfig.json",
 		"compile": "tsc -p tsconfig.json",
-		"import-editor": "node ./scripts/import-editor.js",
 		"prepublishOnly": "npm run compile"
 	},
 	"repository": {