1 Star 0 Fork 0

doocal/electron-react-boilerplate

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
azure-pipelines.yml 1.28 KB
一键复制 编辑 原始数据 按行查看 历史
Amila Welihinda 提交于 2020-02-21 08:34 . v1.0.0 (#2370)
variables:
YARN_CACHE_FOLDER: $(Pipeline.Workspace)/.yarn
strategy:
matrix:
linux:
imageName: 'ubuntu-16.04'
nodeVersion: '13.x'
mac:
imageName: 'macos-10.14'
nodeVersion: '13.x'
windows:
imageName: 'windows-2019'
nodeVersion: '13.x'
pool:
vmImage: $(imageName)
steps:
# Set node version
- task: NodeTool@0
inputs:
versionSpec: $(nodeVersion)
# Cache yarn deps
- task: Cache@2
inputs:
key: 'yarn | "$(Agent.OS)" | yarn.lock'
restoreKeys: |
yarn | "$(Agent.OS)"
yarn
path: $(YARN_CACHE_FOLDER)
displayName: Cache Yarn packages
# Start virtual framebuffer server
- bash: |
/usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
echo ">>> Started xvfb"
displayName: Start xvfb
condition: and(succeeded(), eq(variables['Agent.OS'], 'Linux'))
# Install deps with yarn and run tests
- script: yarn --frozen-lockfile && yarn test-all
env:
DISPLAY: ':99.0'
# Generate coverage report
- script: yarn test --coverage --coverageReporters=cobertura
# Publish coverage report
- task: PublishCodeCoverageResults@1
inputs:
codeCoverageTool: Cobertura
summaryFileLocation: $(System.DefaultWorkingDirectory)/coverage/cobertura-coverage.xml
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/os-web/electron-react-boilerplate.git
git@gitee.com:os-web/electron-react-boilerplate.git
os-web
electron-react-boilerplate
electron-react-boilerplate
master

搜索帮助