Skip to content

Commit

Permalink
Engineering - Scaffold pipeline (#182)
Browse files Browse the repository at this point in the history
* Scaffold pipeline

* Specify buildPlatforms
  • Loading branch information
lszomoru authored Oct 13, 2022
1 parent da6f5f8 commit 46d7800
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/.vscode/
/benchmark/
/build/
/coverage/
/out/
/scripts/
Expand Down
45 changes: 45 additions & 0 deletions build/pipeline.yml
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 }}

0 comments on commit 46d7800

Please sign in to comment.