/
githubmirror
/
yarn
Обзор
Документация
Войти
/
githubmirror
/
yarn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
appveyor.yml
43 строки
1 KB
Mark Stacey
ci(perf): Set maxWorkers to match the number of cores available (#6249)
09 авг 2018, 17:42
09 авг 2018, 17:42
0155739
Код
Авторство
О чём код?
environment: matrix: - node_version: '8' - node_version: '10' branches: only: - master - '/v[0-9]+(\.[0-9]+)*/' install: - ps: 'Install-Product node $env:node_version' - yarn install --frozen-lockfile build_script: - ps: >- if ($env:APPVEYOR_REPO_BRANCH -eq 'master') { node ./scripts/set-dev-version.js } - yarn run build-dist - yarn run build-win-installer test_script: - cmd: |- SET npm_execpath=%APPVEYOR_BUILD_FOLDER%\bin\yarn.js node ./node_modules/jest/bin/jest.js --verbose --maxWorkers=2 artifacts: - path: artifacts/*.msi name: Installer cache: - node_modules - '%LOCALAPPDATA%/Yarn' notifications: - provider: Webhook url: 'https://nightly.yarnpkg.com/archive_appveyor' method: POST headers: Authorization: secure: uH4c9HNDdRuL4omqqbTtBq3KgzjGTFmpvPdiNuk9391Z0YXRoRLA1Ptpa3seZ0Pt on_build_failure: false deploy: - provider: Webhook url: 'https://nightly.yarnpkg.com/release_appveyor' authorization: secure: uH4c9HNDdRuL4omqqbTtBq3KgzjGTFmpvPdiNuk9391Z0YXRoRLA1Ptpa3seZ0Pt on: branch: '/v[0-9]+(\.[0-9]+)*/' appveyor_repo_tag: true