Skip to content

Commit

Permalink
fix: try using local host without http
Browse files Browse the repository at this point in the history
  • Loading branch information
sniperadmin committed May 7, 2020
1 parent d239e66 commit 30fe194
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .github/lighthouse/lighthouserc.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{
"ci": {
"collect": {
"staticDistDir": "./dist"
},
"assert": {
"preset": "lighthouse:recommended",
"assertions": {
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job
static-dist-dir:
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest

Expand All @@ -26,6 +26,8 @@ jobs:
- name: Lighthouse CI Action
uses: treosh/lighthouse-ci-action@v2
with:
urls: |
localhost:8080/
budgetPath: '.github/lighthouse/budget.json' # test performance budgets
configPath: '.github/lighthouse/lighthouserc.json'
# Path to a LHCI lighthouserc.json file
Expand Down

0 comments on commit 30fe194

Please sign in to comment.