Skip to content

Commit

Permalink
Merge pull request #23 from theamazingfedex/automated-deployments
Browse files Browse the repository at this point in the history
chore(repository_maintenance): add auto publish on merge to master
  • Loading branch information
theamazingfedex committed Mar 7, 2019
2 parents 6d59480 + 0cf5781 commit fe7af7c
Show file tree
Hide file tree
Showing 5 changed files with 10,095 additions and 3,144 deletions.
3 changes: 2 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
src/
tests/
.DS_Store
*.zip
.travis.yml
.releaserc
13 changes: 13 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
["@semantic-release/git", {
"assets": ["package.json", "CHANGELOG.md"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}],
"@semantic-release/github"
]
}
33 changes: 24 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,26 @@
dist: trusty
sudo: required
language: node_js
node_js:
- "11.10"
- "11.0"
- "10.15.2"
- "10.13"
- "10.0"
notificiations:
email: false
script:
- npm run coveralls
- "10.15.3"
- "11.10"

os:
- linux

jobs:
include:
- stage: install
script: npm install
skip_cleanup: true
- stage: test
script: npm run coverage
skip_cleanup: true
- stage: release
node_js: 10.15.3
deploy:
provider: script
skip_cleanup: true
script:
- npx semantic-release
if: branch = master
Loading

0 comments on commit fe7af7c

Please sign in to comment.