Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Initial Adoption of Continous Deployment using semantic-release #58

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,15 @@ addons:
- git
- libgnome-keyring-dev
- fakeroot

node_js: lts/*

after_success:
# Add apm to the PATH
- export PATH=${PATH}:${HOME}/atom/usr/bin/

deploy:
provider: script
skip_cleanup: true
script:
- npx semantic-release
17 changes: 16 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@
"atom-package-deps": "^4.6.0"
},
"devDependencies": {
"@commitlint/cli": "^6.1.3",
"@commitlint/config-conventional": "^6.1.3",
"@commitlint/travis-cli": "^6.1.3",
"@semantic-release/apm-config": "^2.0.1",
"husky": "^0.14.3",
"semantic-release": "^15.1.7",
"eslint": "^4.6.0",
"eslint-config-airbnb-base": "^12.0.0",
"eslint-plugin-import": "^2.7.0",
Expand All @@ -30,6 +36,7 @@
"linter:2.0.0"
],
"scripts": {
"commitmsg": "commitlint -e $GIT_PARAMS",
"lint": "eslint ."
},
"eslintConfig": {
Expand Down Expand Up @@ -59,5 +66,13 @@
"2.0.0": "provideLinter"
}
}
},
"release": {
"extends": "@semantic-release/apm-config"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
}
}