1 Star 0 Fork 0

轻云吻雪/taro-ui

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 1.72 KB
一键复制 编辑 原始数据 按行查看 历史
version: ">= 1.0.0"
language: node_js
node_js:
- "10"
os: linux
dist: xenial
arch: amd64
cache:
yarn: true
directories:
- node_modules
jobs:
include:
- stage: test
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH="$HOME/.yarn/bin:$PATH"
install:
- yarn --frozen-lockfile
before_script:
- yarn run clean:component
- yarn run build:component
script:
- yarn run test:ci
- stage: release
if: "(tag =~ /^v3/) AND (NOT (type IN (pull_request)))"
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH="$HOME/.yarn/bin:$PATH"
install:
- yarn --frozen-lockfile
before_script:
- yarn run clean:component
script:
- yarn run build:component
before_deploy:
- echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" >> $HOME/.npmrc 2> /dev/null
deploy:
provider: script
skip_cleanup: true
script: "yarn run publish"
on:
tags: true
repo: NervJS/taro-ui
- stage: deploy
if: "(branch = master) AND (NOT (type IN (pull_request)))"
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH="$HOME/.yarn/bin:$PATH"
install:
- yarn --frozen-lockfile
before_script:
- yarn run clean
script:
- yarn run build
after_script:
- cd packages/taro-ui-docs/dist
- git init
- git add -A
- git commit -m "Update Document"
- git push --force --quiet "https://${GITHUB_TOKEN}@${GH_REF}" master:gh-pages
env:
global:
- GH_REF=github.com/NervJS/taro-ui.git
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/light_clouds_kiss_snow/taro-ui.git
git@gitee.com:light_clouds_kiss_snow/taro-ui.git
light_clouds_kiss_snow
taro-ui
taro-ui
next

搜索帮助

0d507c66 1850385 C8b1a773 1850385