mirror of
https://github.com/dilllxd/gitfolio.git
synced 2024-08-14 22:28:09 +00:00
Add Lighthouse CI
This commit is contained in:
parent
45b3e5fe0b
commit
5e512a6ce5
1 changed files with 9 additions and 3 deletions
|
@ -2,13 +2,19 @@ dist: bionic
|
|||
language: node_js
|
||||
node_js:
|
||||
- 11
|
||||
addons:
|
||||
chrome: stable
|
||||
cache:
|
||||
directories:
|
||||
- node_modules
|
||||
before_install:
|
||||
- npm install -g @lhci/cli@0.3.x
|
||||
before_script:
|
||||
- npm install -g
|
||||
script:
|
||||
- gitfolio build k4ustu3h --fork --theme dark --sort updated --twitter k4ustu3h_ --dribbble k4ustu3h --email k4ustu3h@gmail.com --codepen k4ustu3h --dev k4ustu3h --instagram k4ustu3h
|
||||
after_success:
|
||||
- lhci autorun --upload.target=temporary-public-storage --staticDistDir=/home/travis/build/k4ustu3h/gitfolio/dist
|
||||
deploy:
|
||||
provider: pages
|
||||
skip_cleanup: true
|
||||
|
|
Loading…
Reference in a new issue