mirror of
https://gitee.com/antv/g6.git
synced 2024-12-03 04:08:32 +08:00
20 lines
586 B
YAML
20 lines
586 B
YAML
# 不要修改该文件, 会自动生成, 详见 http://gitlab.alibaba-inc.com/node/ci
|
|
# 不要使用 ci 生成,直接按照 gitlab 文档自己写吧!
|
|
before_script:
|
|
- export PATH=$PWD/node_modules/.bin:$PWD/.node/bin:$PATH
|
|
- time enclose install tnpm:tnpm
|
|
- tnpm -v
|
|
stages:
|
|
- test
|
|
|
|
# job1
|
|
test:
|
|
image: reg.docker.alibaba-inc.com/dockerlab/node-ci:3.2.0
|
|
stage: test
|
|
script:
|
|
- env -u CI tnpm i --silent --internal-oss-cache --install-node=10
|
|
# - tnpm run ci ci 环境问题导致 electron 安装失败暂时跑不了
|
|
- tnpm run lint
|
|
tags:
|
|
- swarm
|