add publish pipeline (#57)
This commit is contained in:
Родитель
88bffcd8b6
Коммит
319e2599c7
|
@ -1,5 +1,9 @@
|
|||
{
|
||||
"git.branchProtection": ["main"],
|
||||
"git.branchProtection": [
|
||||
"main"
|
||||
],
|
||||
"git.branchProtectionPrompt": "alwaysCommitToNewBranch",
|
||||
"git.branchRandomName.enable": true
|
||||
"git.branchRandomName.enable": true,
|
||||
"githubPullRequests.assignCreated": "${user}",
|
||||
"githubPullRequests.defaultMergeMethod": "squash"
|
||||
}
|
|
@ -0,0 +1,30 @@
|
|||
name: $(Date:yyyyMMdd)$(Rev:.r)
|
||||
|
||||
trigger:
|
||||
branches:
|
||||
include:
|
||||
- main
|
||||
pr: none
|
||||
|
||||
resources:
|
||||
repositories:
|
||||
- repository: templates
|
||||
type: github
|
||||
name: microsoft/vscode-engineering
|
||||
ref: main
|
||||
endpoint: Monaco
|
||||
|
||||
parameters:
|
||||
- name: publishPackage
|
||||
displayName: 🚀 Publish web-custom-data
|
||||
type: boolean
|
||||
default: false
|
||||
|
||||
extends:
|
||||
template: azure-pipelines/npm-package/pipeline.yml@templates
|
||||
parameters:
|
||||
npmPackages:
|
||||
- name: web-custom-data
|
||||
|
||||
publishPackage: ${{ parameters.publishPackage }}
|
||||
workingDirectory: $(Build.SourcesDirectory)/web-data
|
Загрузка…
Ссылка в новой задаче