Skip to content

Commit

Permalink
Merge pull request microsoft#10 from microsoft/add-gitErrors.yml
Browse files Browse the repository at this point in the history
Add gitErrors.yml
  • Loading branch information
sandersn authored May 19, 2022
2 parents f044986 + 52166b7 commit cd1b225
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 1 deletion.
45 changes: 45 additions & 0 deletions azure-pipelines-gitTests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
parameters:
- name: POST_RESULT
displayName: Post GitHub issue with results
type: boolean
default: true
- name: REPO_COUNT
displayName: Repo Count
type: string
default: 100
- name: OLD_VERSION
displayName: Baseline typescript package version
type: string
default: latest
- name: NEW_VERSION
displayName: Candidate typescript package version
type: string
default: next

schedules:
- cron: "0 18 * * Sun" # time is in UTC
displayName: Sunday overnight run
always: true
branches:
include:
- main

trigger: none

pool:
vmImage: 'ubuntu-latest'

jobs:
- job: 'DetectNewErrors'
timeoutInMinutes: 360
steps:
- task: NodeTool@0
inputs:
versionSpec: '16.x'
displayName: 'Install Node.js'
- script: |
npm ci
npm run build
node gitErrors ${{ parameters.POST_RESULT }} ${{ parameters.REPO_COUNT }} ${{ parameters.OLD_VERSION }} ${{ parameters.NEW_VERSION }}
env:
GITHUB_PAT: $(GITHUB_PAT)
2 changes: 1 addition & 1 deletion azure-pipelines-userTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
steps:
- task: NodeTool@0
inputs:
versionSpec: '12.x'
versionSpec: '16.x'
displayName: 'Install Node.js'
- script: |
npm ci
Expand Down

0 comments on commit cd1b225

Please sign in to comment.