Skip to content

Commit 67154cf

Browse files
committed
fix(package.json): Fix Bug
1 parent 3eb9d12 commit 67154cf

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

.travis.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
language: node_js
22
cache:
33
directories:
4-
- node_modules
4+
- ~/.npm
55
notifications:
66
email: false
77
node_js:
88
- '10'
9-
before_install:
10-
- npm i -g npm@^2.0.0
11-
before_script:
12-
- npm prune
13-
script:
14-
- npm run test
9+
script:
10+
npm test
1511
after_success:
16-
- npm run semantic-release
12+
- npm run travis-deploy-once "npm run semantic-release"
13+
branches:
14+
except:
15+
- /^v\d+\.\d+\.\d+$/

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"commit": "npx git-cz",
88
"test": "jest",
99
"travis-deploy-once": "travis-deploy-once",
10-
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
10+
"semantic-release": "npx semantic-release"
1111
},
1212
"repository": {
1313
"type": "git",

0 commit comments

Comments
 (0)