Skip to content

Commit 2d2fe5a

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

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

app/lighthouserc.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1+
let env = process.env;
2+
13
module.exports = {
2-
scripts: {
3-
"lchi:server": "python manage.py runserver localhost:3000"
4-
},
54
ci: {
65
collect: {
6+
startServerCommand: `DATABASE_URL=${env.DATABASE_URL} DJANGO_SETTINGS_MODULE=${env.DJANGO_SETTINGS_MODULE} `
7+
`python manage.py runserver localhost:3000`,
78
url: [
89
"http://localhost:3000",
910
"http://localhost:3000/search/",

0 commit comments

Comments
 (0)