Skip to content

Commit

Permalink
chore(node): drop support for Node 8 (#186)
Browse files Browse the repository at this point in the history
* chore(node): drop support for Node 8

* chore(node): clean up Travis config

* chore(node): allow Node 10
  • Loading branch information
rcebulko committed Mar 17, 2020
1 parent 17c5073 commit d79e9d1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 16 deletions.
22 changes: 7 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,22 @@
sudo: false

language: node_js

node_js:
- "8.9.0"
- "10.19.0"
- stable

install: yarn --ignore-engines --frozen-lockfile

script:
- yarn
- yarn run-example
cache:
yarn: true
notifications:
email: false

script: yarn run-example
after_success:
# run automated release process with semantic-release
- if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_EVENT_TYPE" == "push" && "$TRAVIS_NODE_VERSION" == "stable" ]]; then
- if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_EVENT_TYPE" == "push" && "$TRAVIS_NODE_VERSION" == "stable"]]; then
npm i --no-save semantic-release@15 @semantic-release/changelog@3 @semantic-release/git@7;
semantic-release;
fi;

cache:
yarn: true

notifications:
email: false

env:
global:
- secure: TFSCNKxxG4gWmLwX7Wlz61sdev46If0tmg9y3GZZXI/WSvcbSsVOj1k5nAhvlfOK7MMgTBC+bLCKuHlhhY7H3ZDbxKW/NaSNk4vNfWjrT7k7OQmmMi93PBXSdwLlQOBWPzyd7ZEZmUV8fBI3IWEORaUcDEPjKE5gSPtiaxynPLQ=
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"url": "git://github.com/karma-runner/karma-sauce-launcher.git"
},
"engines": {
"node": ">= 8.9.0"
"node": ">= 10.0.0"
},
"husky": {
"hooks": {
Expand Down

0 comments on commit d79e9d1

Please sign in to comment.