diff --git a/.azure-pipelines/publish-stable.yml b/.azure-pipelines/publish-stable.yml index 12dc7c69..718d6c5f 100644 --- a/.azure-pipelines/publish-stable.yml +++ b/.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 diff --git a/webpack-plugin/package.json b/webpack-plugin/package.json index 19dadbef..f224bcea 100644 --- a/webpack-plugin/package.json +++ b/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": {