Skip to content

Commit d7945e0

Browse files
committed
V4 Attempt to store lighthouse report
1 parent 9c9e000 commit d7945e0

2 files changed

Lines changed: 6 additions & 12 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,6 @@ jobs:
8484
uses: actions/upload-artifact@v4
8585
with:
8686
name: lighthouse-report
87-
path: .lighthouseci/
87+
path: lighthouse-report/
8888
overwrite: true
89-
90-
- name: Generate Lighthouse Badges
91-
if: always()
92-
uses: myactionway/lighthouse-badger-action@v2.2
93-
with:
94-
urls: https://designpatternpedia.nl
95-
badge_output_path: lighthouse_results
96-
commit_to_branch: false
97-
upload_artifact: true
89+
if-no-files-found: error

lighthouserc.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
module.exports = {
22
ci: {
33
collect: {
4-
numberOfRuns: 3,
4+
staticDistDir: "./build",
5+
numberOfRuns: 1,
56
},
67
upload: {
7-
target: 'temporary-public-storage',
8+
target: "filesystem",
9+
outputDir: "./lighthouse-report",
810
},
911
},
1012
};

0 commit comments

Comments
 (0)