From d0c16990fa281057ce7cf4a9ece9ae30c0ea9f59 Mon Sep 17 00:00:00 2001 From: Restioson Date: Tue, 22 Oct 2024 19:03:57 +0200 Subject: [PATCH] fixup! chore(ci): set up Lighthouse auditing in CI --- .env.lhci | 2 +- .github/workflows/testing.yml | 2 +- app/lighthouserc.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.env.lhci b/.env.lhci index c184f01..4dd8078 100644 --- a/.env.lhci +++ b/.env.lhci @@ -1,5 +1,5 @@ SECRET_KEY='django-insecure-w!h85bp^$$e8gm%c23r!0%9i7yzd=6w$$s&ic+6!%306&kj8@k*5' -DEBUG=False +DEBUG=0 DB_HOST=localhost DB_PORT=5432 DB_NAME=term_db diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 4697acd..f94d07e 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -113,4 +113,4 @@ jobs: uses: actions/upload-artifact@v4 with: name: django-logs - path: /logging + path: app/debug.log diff --git a/app/lighthouserc.js b/app/lighthouserc.js index 904cb9c..f815e20 100644 --- a/app/lighthouserc.js +++ b/app/lighthouserc.js @@ -23,7 +23,7 @@ module.exports = { "preset": "lighthouse:recommended", "assertions": { // Gunicorn doesn't do this - "use-text-compression": false, + "uses-text-compression": false, // We don't think these are worth worrying about for now "unminified-javascript": false,