Skip to content
This repository was archived by the owner on Dec 12, 2020. It is now read-only.

Commit 3ca996c

Browse files
committed
feat: setting up semantic release on CI
1 parent 7d2cbcd commit 3ca996c

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

.travis.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
language: node_js
2+
cache:
3+
directories:
4+
- ~/.npm
5+
notifications:
6+
email: true
7+
node_js:
8+
- '8'
9+
after_success:
10+
- npm run semantic-release
11+
branches:
12+
except:
13+
- /^v\d+\.\d+\.\d+$/

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "cypress-vue-unit-test",
33
"description": "A little helper to unit test Vue components in the Cypress.io E2E test runner",
4-
"version": "1.0.0",
4+
"version": "0.0.0-development",
55
"author": "Gleb Bahmutov <[email protected]>",
66
"bugs": "https://github.com/bahmutov/cypress-vue-unit-test/issues",
77
"config": {
@@ -60,7 +60,8 @@
6060
"size": "t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";",
6161
"test": "npm run unit",
6262
"unit": "mocha src/*-spec.js",
63-
"unused-deps": "dependency-check --unused --no-dev ."
63+
"unused-deps": "dependency-check --unused --no-dev .",
64+
"semantic-release": "semantic-release"
6465
},
6566
"release": {
6667
"analyzeCommits": "simple-commit-message"
@@ -75,6 +76,7 @@
7576
"nsp": "3.1.0",
7677
"pre-git": "3.16.0",
7778
"prettier-standard": "8.0.0",
78-
"standard": "10.0.3"
79+
"standard": "10.0.3",
80+
"semantic-release": "^11.0.2"
7981
}
8082
}

0 commit comments

Comments
 (0)