Skip to content

Commit

Permalink
#5 fixed base url for lighthouse
Browse files Browse the repository at this point in the history
  • Loading branch information
RossellaFer committed Apr 23, 2024
1 parent acc7ecf commit a5b340f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/lighthouse-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ jobs:
with:
node-version: 18
- run: npm install && npm install -g @lhci/[email protected]
- run: npm run build --base-href=/
- run: npm run build
- run: lhci autorun
10 changes: 10 additions & 0 deletions lighthouserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"ci": {
"collect": {
"url": [
"http://localhost/"
],
"staticDistDir": "./dist"
}
}
}

0 comments on commit a5b340f

Please sign in to comment.