-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Engineering - Scaffold pipeline (#182)
* Scaffold pipeline * Specify buildPlatforms
- Loading branch information
Showing
2 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
/.vscode/ | ||
/benchmark/ | ||
/build/ | ||
/coverage/ | ||
/out/ | ||
/scripts/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
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 vscode-textmate | ||
type: boolean | ||
default: false | ||
|
||
extends: | ||
template: azure-pipelines/npm-package/pipeline.yml@templates | ||
parameters: | ||
npmPackages: | ||
- name: vscode-textmate | ||
|
||
buildPlatforms: | ||
- name: Linux | ||
nodeVersions: | ||
- 16.x | ||
|
||
buildSteps: | ||
- script: npm ci | ||
displayName: Install dependencies | ||
|
||
- script: npm run compile | ||
displayName: Compile npm package | ||
|
||
testSteps: | ||
- script: npm test | ||
displayName: Test npm package | ||
|
||
publishPackage: ${{ parameters.publishPackage }} |