Skip to content

Commit

Permalink
Revise and use v3 on feedback from GoogleChrome/lighthouse-ci#344 (co…
Browse files Browse the repository at this point in the history
  • Loading branch information
kaihendry committed Jun 8, 2020
1 parent 8ce4678 commit 254de8f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 16 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ jobs:
lighthouse:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Audit URLs using Lighthouse and ensure performance budget
uses: treosh/lighthouse-ci-action@v2
- uses: actions/checkout@v2
- name: Audit URLs using Lighthouse
uses: treosh/lighthouse-ci-action@v3
with:
urls: |
https://bus2.dabase.com
https://bus2.dabase.com/?id=83059
budgetPath: ./budget.json # test performance budgets
temporaryPublicStorage: true
uploadArtifacts: true
13 changes: 0 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,3 @@ matrix:
script: up deploy production # https://bus.dabase.com/
on:
tags: true
- language: node_js
env: ISOLATED=false
node_js: 13
before_install:
- curl -sL -o ~/bin/gimme https://raw.githubusercontent.com/travis-ci/gimme/master/gimme
- chmod +x ~/bin/gimme
- eval "$(curl -sL https://raw.githubusercontent.com/travis-ci/gimme/master/gimme | GIMME_GO_VERSION=1.12 bash)"
script:
- npm install -g @lhci/cli@0.3.x
- lhci collect --start-server-command="PORT=3000 go run ."
--url=http://localhost:3000/
--upload.target=temporary-public-storage
- lhci upload

0 comments on commit 254de8f

Please sign in to comment.