Skip to content

Commit

Permalink
fix: semantic-release as optional dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-north committed Sep 2, 2018
1 parent e27d3f6 commit dd36367
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Expand Up @@ -2,7 +2,7 @@ language: node_js
node_js:
# we recommend testing addons with the same minimum supported node version as Ember CLI
# so that your addon works for all apps
- '6'
- stable

sudo: false
dist: trusty
Expand Down Expand Up @@ -37,7 +37,7 @@ before_install:
- export PATH=$HOME/.yarn/bin:$PATH

install:
- yarn install --no-lockfile --non-interactive
- yarn install --no-lockfile --non-interactive --skip-optional

script:
- yarn lint:js
Expand All @@ -48,8 +48,8 @@ script:
after_success:
- nvm install 10
- nvm use 10
- npm install
- npm run travis-deploy-once "npm run semantic-release"
- yarn install --no-lockfile --non-interactive
- yarn travis-deploy-once "npm run semantic-release"
branches:
except:
- /^v\d+\.\d+\.\d+$/
8 changes: 5 additions & 3 deletions package.json
Expand Up @@ -22,7 +22,6 @@
"author": "Mike North <michael.l.north@gmail.com> (http://mike.works)",
"license": "MIT",
"devDependencies": {
"@mike-north/js-lib-semantic-release-config": "^0.0.0-development",
"broccoli-asset-rev": "^2.4.6",
"ember-cli": "^3.3.0",
"ember-cli-dependency-checker": "^2.1.0",
Expand All @@ -47,8 +46,11 @@
"eslint-plugin-ember": "^5.0.0",
"eslint-plugin-node": "^5.2.1",
"loader.js": "^4.2.3",
"travis-deploy-once": "^5.0.7",
"semantic-release": "^15.9.12"
"travis-deploy-once": "^5.0.7"
},
"optionalDependencies": {
"semantic-release": "^15.9.12",
"@mike-north/js-lib-semantic-release-config": "^0.0.0-development"
},
"keywords": [
"ember-addon",
Expand Down

0 comments on commit dd36367

Please sign in to comment.