microsoft/typespec

Public

mirrored from https://github.com/microsoft/typespecAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
6e5f5e24f68cb4e22b7eddde714f7969a1335cd7

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

eng/pipelines/pull-request-consistency.yml

19lines · modecode

1steps:
2 - checkout: self
3 submodules: true
4
5 - task: NodeTool@0
6 inputs:
7 versionSpec: "16.x"
8 displayName: Install Node.js
9
10 - script: node common/scripts/install-run-rush.js install
11 displayName: Install JavaScript Dependencies
12
13 - script: node common/scripts/install-run-rush.js change -v
14 condition: and(succeeded(), not(or(startsWith(variables['System.PullRequest.SourceBranch'], 'publish/'), startsWith(variables['System.PullRequest.SourceBranch'], 'backmerge/'))))
15 displayName: Check that changelog has been provided
16
17 - script: node common/scripts/install-run-rush.js publish --apply && node eng/scripts/check-for-changed-files.js publish
18 condition: and(succeeded(), eq(startsWith(variables['System.PullRequest.SourceBranch'], 'publish/'), true))
19 displayName: Check that publish PR isn't missing changes
20