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 #61

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 @@ -38,3 +38,15 @@ addons:
- fakeroot
- git
- libsecret-1-dev

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 @@ -24,6 +24,7 @@
}
},
"scripts": {
"commitmsg": "commitlint -e $GIT_PARAMS",
"test": "apm test",
"lint": "eslint ."
},
Expand All @@ -34,6 +35,12 @@
"yaml-js": "^0.3.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.18.2",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-plugin-import": "^2.9.0",
Expand Down Expand Up @@ -63,5 +70,13 @@
"globals": {
"atom": true
}
},
"release": {
"extends": "@semantic-release/apm-config"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
}
}