diff --git a/.github/workflows/lighthouse-ci.yml b/.github/workflows/lighthouse-ci.yml index 5279dd2..f0cd4d9 100644 --- a/.github/workflows/lighthouse-ci.yml +++ b/.github/workflows/lighthouse-ci.yml @@ -9,5 +9,5 @@ jobs: with: node-version: 18 - run: npm install && npm install -g @lhci/cli@0.13.x - - run: npm run build --base-href=/ + - run: npm run build - run: lhci autorun \ No newline at end of file diff --git a/lighthouserc.json b/lighthouserc.json new file mode 100644 index 0000000..886af98 --- /dev/null +++ b/lighthouserc.json @@ -0,0 +1,10 @@ +{ + "ci": { + "collect": { + "url": [ + "http://localhost/" + ], + "staticDistDir": "./dist" + } + } +} \ No newline at end of file