Skip to content

Commit

Permalink
feat(Add-lh): lighthouseCI-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
antekai committed Oct 17, 2018
1 parent 70723ca commit 610a051
Show file tree
Hide file tree
Showing 3 changed files with 178 additions and 35 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,8 @@ deploy:
skip_cleanup: true
on:
branch: master

after_success:
- npm install https://github.com/ebidel/lighthouse-ci
# - ./deploy.sh # TODO(you): deploy the PR changes to your staging server.
- npm run lh -- https://react-map-app.netlify.com/
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"test": "react-app-rewired test",
"eject": "react-scripts eject",
"travis-deploy-once": "travis-deploy-once",
"semantic-release": "semantic-release"
"semantic-release": "semantic-release",
"lh": "lighthouse-ci"
},
"eslintConfig": {
"extends": "react-app"
Expand All @@ -28,6 +29,7 @@
"not op_mini all"
],
"devDependencies": {
"lighthouse-ci": "https://github.com/ebidel/lighthouse-ci",
"react-testing-library": "^5.2.0",
"semantic-release": "^15.9.17",
"travis-deploy-once": "^5.0.9"
Expand Down
Loading

0 comments on commit 610a051

Please sign in to comment.