From e20ed5d3b9b0a84db90c4f533ceec87565fb0658 Mon Sep 17 00:00:00 2001 From: Vinesh <42398320+cplkake@users.noreply.github.com> Date: Thu, 14 Nov 2024 15:55:16 -0500 Subject: [PATCH] Update lighthouse-ci.yml --- .github/workflows/lighthouse-ci.yml | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/.github/workflows/lighthouse-ci.yml b/.github/workflows/lighthouse-ci.yml index b991f4a42..c7991bcb5 100644 --- a/.github/workflows/lighthouse-ci.yml +++ b/.github/workflows/lighthouse-ci.yml @@ -34,22 +34,7 @@ jobs: # insert API interaction here - name: Create lighthouserc.js using Node.js - run: | - node -e " - const fs = require('fs'); - const config = { - ci: { - collect: { - url: ['http://localhost'] - }, - upload: { - target: 'temporary-public-storage' - } - } - }; - - fs.writeFileSync('.lighthouserc.js', `module.exports = ${JSON.stringify(config, null, 2)};`); - " + run: node generate-lighthouserc.js - name: Install and run Lighthouse CI run: |