3 Star 49 Fork 6

opensumi / codeblitz

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.aci.yml 1.11 KB
一键复制 编辑 原始数据 按行查看 历史
guqiankun 提交于 2022-05-24 17:12 . chore: 升级ACI
# 不要修改该文件,会自动生成,详见 https://gitlab.alibaba-inc.com/node/ci
stages:
- test
environments:
NODE_ENV: "test"
# beforeScript:
# - |
# export PATH=$PWD/node_modules/.bin:/root/.cli:$PATH
# echo $PATH
# time enclose install tnpm:tnpm
# tnpm -v
node-12:
stage: test
aciTags: DOCKER
agent:
docker:
image: reg.docker.alibaba-inc.com/dockerlab/node-ci:3.8.0
resourceRequirements:
cpu: 4
memory: 12
ephemeral-storage: 30
script:
- |
export PATH=$PWD/node_modules/.bin:/root/.cli:$PATH
chown -R admin:admin ./
time tnpm i -g yarn && tnpm i --install-node=12 --by=yarn --no-cache --internal-oss-cache
node -e "console.log('%j, %j', process.versions, process.execPath)"
time tnpm run init
time tnpm run test
coverage: '(?<=Statements\s{1,10}:\s{1,10})\d{1,10}.\d{1,10}'
passrate: '(?<=PASS_RATE: )\d{1,10}.\d{1,10}'
publisher:
archiveArtifacts:
artifacts: 'coverage/'
allowEmptyArchive: true
html:
index: coverage/lcov-report/index.html
displayName: 测试覆盖率
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/opensumi/codeblitz.git
git@gitee.com:opensumi/codeblitz.git
opensumi
codeblitz
codeblitz
main

搜索帮助

344bd9b3 5694891 D2dac590 5694891