-
Notifications
You must be signed in to change notification settings - Fork 27.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'canary' into chore/image-domain-docs-update
- Loading branch information
Showing
952 changed files
with
29,475 additions
and
11,940 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
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
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
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
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,17 @@ | ||
name: Cancel | ||
on: | ||
pull_request_target: | ||
types: | ||
- edited | ||
- synchronize | ||
|
||
jobs: | ||
cancel: | ||
name: 'Cancel Previous Runs' | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 2 | ||
steps: | ||
- uses: styfle/cancel-workflow-action@0.5.0 | ||
with: | ||
workflow_id: 444921, 444987 | ||
access_token: ${{ github.token }} |
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
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
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
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
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,66 +1,135 @@ | ||
trigger: | ||
# Only run latest commit for branches: | ||
batch: true | ||
# Do not run Azure CI for docs-only/example-only changes: | ||
paths: | ||
include: | ||
- '*' | ||
exclude: | ||
- bench/* | ||
- docs/* | ||
- errors/* | ||
- examples/* | ||
# Do not run Azure on `canary`, `master`, or release tags. This unnecessarily | ||
# increases the backlog, and the change was already tested on the PR. | ||
branches: | ||
include: | ||
- '*' | ||
exclude: | ||
- canary | ||
- master | ||
- refs/tags/* | ||
|
||
variables: | ||
YARN_CACHE_FOLDER: $(Pipeline.Workspace)/.yarn | ||
NEXT_TELEMETRY_DISABLED: '1' | ||
node_version: ^10.10.0 | ||
|
||
jobs: | ||
- job: test_ie11 | ||
pool: | ||
vmImage: 'windows-2019' | ||
steps: | ||
- task: NodeTool@0 | ||
inputs: | ||
versionSpec: $(node_version) | ||
displayName: 'Install Node.js' | ||
|
||
- task: CacheBeta@0 | ||
inputs: | ||
key: yarn | $(Agent.OS) | yarn.lock | ||
path: $(YARN_CACHE_FOLDER) | ||
displayName: Cache Yarn packages | ||
|
||
- script: | | ||
yarn install --frozen-lockfile --check-files | ||
displayName: 'Install dependencies' | ||
- script: | | ||
yarn testie --forceExit test/integration/production/ | ||
displayName: 'Run tests' | ||
- job: test_chrome | ||
pool: | ||
vmImage: 'windows-2019' | ||
strategy: | ||
maxParallel: 10 | ||
matrix: | ||
node-10-1: | ||
group: 1/4 | ||
node-10-2: | ||
group: 2/4 | ||
node-10-3: | ||
group: 3/4 | ||
node-10-4: | ||
group: 4/4 | ||
steps: | ||
- script: | | ||
wmic datafile where name="C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe" get Version /value | ||
displayName: 'List Chrome version' | ||
- task: NodeTool@0 | ||
inputs: | ||
versionSpec: $(node_version) | ||
displayName: 'Install Node.js' | ||
stages: | ||
- stage: Build | ||
jobs: | ||
- job: build | ||
pool: | ||
vmImage: 'windows-2019' | ||
steps: | ||
- script: echo $(Agent.BuildDirectory) | ||
- script: dir | ||
- script: dir $(System.DefaultWorkingDirectory) | ||
- script: echo $(Build.SourceVersion) | ||
- powershell: Get-MpComputerStatus | ||
- task: NodeTool@0 | ||
inputs: | ||
versionSpec: $(node_version) | ||
displayName: 'Install Node.js' | ||
- task: Cache@2 | ||
inputs: | ||
# use deterministic cache key that is specific | ||
# to this test run | ||
key: $(Build.SourceVersion) | ||
path: $(System.DefaultWorkingDirectory) | ||
displayName: Cache Build | ||
- script: | | ||
yarn install --frozen-lockfile --check-files | ||
displayName: 'Install dependencies' | ||
- script: | | ||
node run-tests.js --timings --write-timings --azure -g 1/1 | ||
displayName: 'Fetch test timing data' | ||
- task: CacheBeta@0 | ||
inputs: | ||
key: yarn | $(Agent.OS) | yarn.lock | ||
path: $(YARN_CACHE_FOLDER) | ||
displayName: Cache Yarn packages | ||
- stage: Test | ||
dependsOn: Build | ||
jobs: | ||
- job: test_ie11_production | ||
pool: | ||
vmImage: 'windows-2019' | ||
steps: | ||
- checkout: none | ||
- task: NodeTool@0 | ||
inputs: | ||
versionSpec: $(node_version) | ||
displayName: 'Install Node.js' | ||
- task: Cache@2 | ||
inputs: | ||
# use deterministic cache key that is specific | ||
# to this test run | ||
key: $(Build.SourceVersion) | ||
path: $(System.DefaultWorkingDirectory) | ||
displayName: Cache Build | ||
- script: | | ||
yarn testie --forceExit test/integration/production/ | ||
displayName: 'Run tests' | ||
- script: | | ||
yarn install --frozen-lockfile --check-files | ||
displayName: 'Install dependencies' | ||
- job: test_unit | ||
pool: | ||
vmImage: 'windows-2019' | ||
steps: | ||
- checkout: none | ||
- script: | | ||
wmic datafile where name="C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe" get Version /value | ||
displayName: 'List Chrome version' | ||
- task: NodeTool@0 | ||
inputs: | ||
versionSpec: $(node_version) | ||
displayName: 'Install Node.js' | ||
- task: Cache@2 | ||
inputs: | ||
# use deterministic cache key that is specific | ||
# to this test run | ||
key: $(Build.SourceVersion) | ||
path: $(System.DefaultWorkingDirectory) | ||
displayName: Cache Build | ||
- script: | | ||
node run-tests.js -g 1/1 --timings --azure --type unit | ||
displayName: 'Run tests' | ||
- script: | | ||
node run-tests.js -g $(group) --timings --azure | ||
displayName: 'Run tests' | ||
- job: test_chrome_integration | ||
pool: | ||
vmImage: 'windows-2019' | ||
strategy: | ||
matrix: | ||
node-10-1: | ||
group: 1/4 | ||
node-10-2: | ||
group: 2/4 | ||
node-10-3: | ||
group: 3/4 | ||
node-10-4: | ||
group: 4/4 | ||
steps: | ||
- checkout: none | ||
- script: | | ||
wmic datafile where name="C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe" get Version /value | ||
displayName: 'List Chrome version' | ||
- task: NodeTool@0 | ||
inputs: | ||
versionSpec: $(node_version) | ||
displayName: 'Install Node.js' | ||
- task: Cache@2 | ||
inputs: | ||
# use deterministic cache key that is specific | ||
# to this test run | ||
key: $(Build.SourceVersion) | ||
path: $(System.DefaultWorkingDirectory) | ||
displayName: Cache Build | ||
- script: | | ||
node run-tests.js -g $(group) --timings --azure | ||
displayName: 'Run tests' |
Oops, something went wrong.