Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Commit ce5f4ea

Browse files
committed
Switch to using the genering pipeline template
1 parent 45d2b5b commit ce5f4ea

File tree

1 file changed

+18
-28
lines changed

1 file changed

+18
-28
lines changed

azure-pipelines.yml

Lines changed: 18 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,23 @@
1+
name: $(Date:yyyyMMdd)$(Rev:.r)
2+
13
trigger:
24
branches:
3-
include: ['*']
5+
include: ["*"]
46
tags:
5-
include: ['*']
6-
7-
strategy:
8-
matrix:
9-
linux:
10-
imageName: 'ubuntu-latest'
11-
12-
pool:
13-
vmImage: $(imageName)
14-
15-
steps:
16-
17-
- task: NodeTool@0
18-
inputs:
19-
versionSpec: '14.x'
20-
displayName: 'Install Node.js'
7+
include: ["*"]
8+
pr: none
219

22-
- bash: |
23-
echo ">>> Typecheck"
24-
npm i && npm run typecheck
25-
displayName: Typecheck
26-
env:
27-
DISPLAY: ':99.0'
10+
resources:
11+
repositories:
12+
- repository: templates
13+
type: github
14+
name: microsoft/vscode-engineering
15+
ref: main
16+
endpoint: Monaco
2817

29-
- bash: |
30-
echo ">>> Publish"
31-
npm run deploy -- -p $(VSCODE_MARKETPLACE_TOKEN)
32-
displayName: Publish
33-
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/'))
18+
extends:
19+
template: azure-pipelines/extension/stable.yml@templates
20+
parameters:
21+
buildSteps:
22+
- scripts: npm install -ci
23+
displayName: Install dependencies

0 commit comments

Comments
 (0)