Change order of JavaScript tests to get failures earlier (#6198)
* Change order of JavaScript tests to get failures earlier * Change files
This commit is contained in:
Родитель
63caeb89e4
Коммит
be2d628f24
|
@ -696,21 +696,6 @@ jobs:
|
|||
submodules: false # set to 'true' for a single level of submodules or 'recursive' to get submodules of submodules
|
||||
persistCredentials: false # set to 'true' to leave the OAuth token in the Git config after the initial fetch
|
||||
|
||||
# Run unbroken checking local filebefore installing packages to avoid scanning node_modules
|
||||
# The exclusions of unbroken don't support wildcards yet and we have many throughout the repo
|
||||
- task: CmdLine@2
|
||||
displayName: check local links in .md files
|
||||
inputs:
|
||||
script: npx unbroken -q --local-only --allow-local-line-sections
|
||||
|
||||
# This runs will check for web-links. If broken links are found, since external changes could affect this.
|
||||
# It will report a warning if this step fails so we'll pay attention to fix quickly.
|
||||
- task: CmdLine@2
|
||||
displayName: check web links in .md files
|
||||
inputs:
|
||||
script: npx unbroken -q --allow-local-line-sections
|
||||
continueOnError: true
|
||||
|
||||
- template: templates/yarn-install.yml
|
||||
|
||||
- task: CmdLine@2
|
||||
|
@ -748,6 +733,21 @@ jobs:
|
|||
inputs:
|
||||
script: yarn api
|
||||
|
||||
# Run unbroken checking local files before installing packages to avoid scanning node_modules
|
||||
# The exclusions of unbroken don't support wildcards yet and we have many throughout the repo
|
||||
- task: CmdLine@2
|
||||
displayName: check local links in .md files
|
||||
inputs:
|
||||
script: npx unbroken -q --local-only --allow-local-line-sections
|
||||
|
||||
# This runs will check for web-links. If broken links are found, since external changes could affect this.
|
||||
# It will report a warning if this step fails so we'll pay attention to fix quickly.
|
||||
- task: CmdLine@2
|
||||
displayName: check web links in .md files
|
||||
inputs:
|
||||
script: npx unbroken -q --allow-local-line-sections
|
||||
continueOnError: true
|
||||
|
||||
- template: templates/e2e-test-job.yml
|
||||
parameters:
|
||||
name: E2ETest
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
!node_modules
|
||||
!**/node_modules
|
||||
!vnext/packages
|
||||
!vnext/ReactCopies
|
||||
!packages/react-native-platform-override/node_modules
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"type": "prerelease",
|
||||
"comment": "Change order of JavaScript tests to get failures earlier",
|
||||
"packageName": "react-native-windows",
|
||||
"email": "dannyvv@microsoft.com",
|
||||
"dependentChangeType": "patch",
|
||||
"date": "2020-10-07T23:06:16.578Z"
|
||||
}
|
|
@ -99,6 +99,7 @@ temp
|
|||
|
||||
# Copied from root as part of build
|
||||
/README.md
|
||||
/LICENCE
|
||||
|
||||
# Keep the template certificates
|
||||
!template/**/*.pfx
|
|
@ -0,0 +1,25 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
||||
|
||||
Portions derived from React Native:
|
||||
|
||||
Copyright (c) 2015-present, Facebook, Inc.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
|
@ -50,11 +50,15 @@ task('eslint:fix', eslintTask({fix: true}));
|
|||
|
||||
task('copyRNLibraries', copyRNLibaries.copyTask(__dirname));
|
||||
|
||||
task('copyReadmeFromRoot', () => {
|
||||
task('copyReadmeAndLicenseFromRoot', () => {
|
||||
fs.copyFileSync(
|
||||
path.resolve(__dirname, '../README.md'),
|
||||
path.resolve(__dirname, 'README.md'),
|
||||
);
|
||||
fs.copyFileSync(
|
||||
path.resolve(__dirname, '../LICENSE'),
|
||||
path.resolve(__dirname, 'LICENSE'),
|
||||
);
|
||||
});
|
||||
|
||||
task(
|
||||
|
@ -76,7 +80,7 @@ task(
|
|||
series(
|
||||
condition('clean', () => argv().clean),
|
||||
'copyRNLibraries',
|
||||
'copyReadmeFromRoot',
|
||||
'copyReadmeAndLicenseFromRoot',
|
||||
'compileTsPlatformOverrides',
|
||||
'codegen',
|
||||
condition('apiExtractorVerify', () => argv().ci),
|
||||
|
|
|
@ -122,6 +122,7 @@
|
|||
"/index.windows.js.map",
|
||||
"/interface.js",
|
||||
"/just-task.js",
|
||||
"/LICENCE",
|
||||
"/metro-react-native-platform.js",
|
||||
"/metro.config.js",
|
||||
"/react-native.config.js",
|
||||
|
|
Загрузка…
Ссылка в новой задаче