Skip to content

Commit

Permalink
添加自动发布
Browse files Browse the repository at this point in the history
  • Loading branch information
summer88123 committed Mar 11, 2019
1 parent f50c32f commit 4b8079b
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.travis.yml
21 changes: 21 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
language: node_js
node_js:
- "10"
os:
- linux

stages:
- test
- name: deploy
if: tag IS present

jobs:
include:
- stage: test
- stage: deploy
deploy:
provider: npm
email: gaoxiaosong06@gmail.com
api_key: "$NPM_TOKEN"
on:
tags: true
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@hecom/react-native-image-capinsets",
"main": "index.js",
"private": false,
"repository": {
"type": "git",
"url": "https://github.com/summer88123/react-native-image-capinsets.git"
Expand All @@ -12,6 +13,9 @@
"email": "summer88123@163.com"
},
"license": "MIT",
"publishConfig": {
"access": "public"
},
"homepage": "https://github.com/summer88123/react-native-image-capinsets",
"keywords": [
"capInsets",
Expand Down

0 comments on commit 4b8079b

Please sign in to comment.