зеркало из https://github.com/microsoft/lage.git
Adding concurrency setting that isn't OS.CPUS() - 1 in CI (#392)
* try out exclusions * powershell * sigh * adding github workspace to exclusion * env * adding an exclusion rule to make windows runs a bit faster * add concurrency instead of trying to make exclusions * runinband for jest for lage runs of tests
This commit is contained in:
Родитель
9072fcaa19
Коммит
13c84e2a17
|
@ -38,8 +38,8 @@ jobs:
|
|||
|
||||
- name: Build, Test (Windows)
|
||||
if: ${{ startsWith(matrix.os, 'windows') }}
|
||||
run: yarn lage build test --scope=!@lage-run/lage
|
||||
run: yarn lage build test --scope=!@lage-run/lage --concurrency 2
|
||||
|
||||
- name: Build, Test, Lint (Linux)
|
||||
if: ${{ startsWith(matrix.os, 'ubuntu') }}
|
||||
run: yarn lage build test lint
|
||||
run: yarn lage build test lint --concurrency 2
|
||||
|
|
|
@ -26,4 +26,5 @@ module.exports = {
|
|||
transformIgnorePatterns: ["/node_modules/", "\\.pnp\\.[^\\/]+$"],
|
||||
watchPathIgnorePatterns: ["/node_modules/"],
|
||||
moduleNameMapper,
|
||||
...(process.env.LAGE_PACKAGE_NAME && { maxWorkers: 1 }),
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче