Skip to content

Commit 748b8b8

Browse files
committed
fixup! chore(ci): set up Lighthouse auditing in CI
1 parent 71babf4 commit 748b8b8

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

app/lighthouserc.js

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
module.exports = {
2+
scripts: {
3+
"lchi:server": "python manage.py runserver localhost:3000"
4+
},
25
ci: {
36
collect: {
4-
startServerCommand: "python manage.py runserver localhost:3000",
5-
url: [
6-
"http://localhost:3000",
7-
"http://localhost:3000/search/",
8-
"http://localhost:3000/institutions/",
9-
"http://localhost:3000/projects/",
10-
"http://localhost:3000/documents/",
11-
"http://localhost:3000/languages/",
12-
"http://localhost:3000/subjects/"
13-
]
7+
url: [
8+
"http://localhost:3000",
9+
"http://localhost:3000/search/",
10+
"http://localhost:3000/institutions/",
11+
"http://localhost:3000/projects/",
12+
"http://localhost:3000/documents/",
13+
"http://localhost:3000/languages/",
14+
"http://localhost:3000/subjects/"
15+
]
1416
},
1517
assert: {
1618
"preset": "lighthouse:recommended",

0 commit comments

Comments
 (0)