Skip to content

Commit f8c4e95

Browse files
committed
chore: Added semantic release
1 parent ba7b0bf commit f8c4e95

3 files changed

Lines changed: 1091 additions & 39 deletions

File tree

.travis.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
language: node_js
22
node_js:
3-
- node
3+
- '9'
4+
- '8'
5+
- '6'
6+
7+
after_success:
8+
- yarn semantic-release
9+
10+
branches:
11+
except:
12+
- /^v\d+\.\d+\.\d+$/
13+
414
notifications:
5-
email: false
15+
email: false

package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "graphql-config",
3-
"version": "1.1.3",
3+
"version": "0.0.0-development",
44
"description": "The easiest way to configure your development environment with your GraphQL schema (supported by most tools, editors & IDEs)",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
@@ -15,7 +15,8 @@
1515
"build": "npm run clean && tsc",
1616
"copy-test-assets": "cpx \"src/**/{.graphqlconfig*,*.graphql,*.json}\" lib",
1717
"test-only": "npm run build && npm run copy-test-assets && ava --verbose lib/__tests__/**/*.js --serial",
18-
"test": "tslint src/**/*.ts && npm run test-only"
18+
"test": "tslint src/**/*.ts && npm run test-only",
19+
"semantic-release": "semantic-release"
1920
},
2021
"ava": {
2122
"babel": "inherit",
@@ -32,7 +33,7 @@
3233
},
3334
"repository": {
3435
"type": "git",
35-
"url": "git+https://github.com/graphcool/graphql-config.git"
36+
"url": "https://github.com/graphcool/graphql-config.git"
3637
},
3738
"keywords": [
3839
"graphql",
@@ -57,7 +58,8 @@
5758
"cpx": "^1.5.0",
5859
"tslint": "^5.8.0",
5960
"tslint-config-standard": "^7.0.0",
60-
"typescript": "^2.6.2"
61+
"typescript": "^2.6.2",
62+
"semantic-release": "^11.0.2"
6163
},
6264
"dependencies": {
6365
"graphql": "^0.12.3",

0 commit comments

Comments
 (0)