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
12
.travis.yml
12
.travis.yml
|
@ -2,13 +2,19 @@ dist: bionic
|
||||||
language: node_js
|
language: node_js
|
||||||
node_js:
|
node_js:
|
||||||
- 11
|
- 11
|
||||||
|
addons:
|
||||||
|
chrome: stable
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- node_modules
|
- node_modules
|
||||||
|
before_install:
|
||||||
|
- npm install -g @lhci/cli@0.3.x
|
||||||
before_script:
|
before_script:
|
||||||
- npm install -g
|
- npm install -g
|
||||||
script:
|
script:
|
||||||
- gitfolio build k4ustu3h --fork --theme dark --sort updated --twitter k4ustu3h_ --dribbble k4ustu3h --email k4ustu3h@gmail.com --codepen k4ustu3h --dev k4ustu3h --instagram k4ustu3h
|
- 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:
|
deploy:
|
||||||
provider: pages
|
provider: pages
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
|
@ -17,4 +23,4 @@ deploy:
|
||||||
local_dir: dist
|
local_dir: dist
|
||||||
verbose: true
|
verbose: true
|
||||||
on:
|
on:
|
||||||
branch: master
|
branch: master
|
||||||
|
|
Loading…
Reference in a new issue